Hold that the state error clears once a write succeeds again (issue 1507, review)
mesh/delivery merged: source.main moved to novox/mesh-catalog@1a9570f5e92f
mesh/check being carried to d871258f8b00 on 1a9570f5e92f | from 3fb7951524e6

This commit is contained in:
2026-10-28 10:08:13 +01:00
parent e7abe3e3e4
commit d871258f8b
@@ -466,6 +466,9 @@ func TestAChannelThatCannotSendSaysSoAndIsTriedAgain(t *testing.T) {
if len(tg.sends) != 1 || h.Status("listening").Verdict != "ok" {
t.Fatalf("not retried: %d, %s", len(tg.sends), h.Status("listening").Verdict)
}
if p := h.Status("listening").StateProblem; p != "" {
t.Fatalf("a state write that succeeded again still says the old failure: %s", p)
}
}
func TestNothingConfiguredIsSaidInTheStatus(t *testing.T) {