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
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:
@@ -466,6 +466,9 @@ func TestAChannelThatCannotSendSaysSoAndIsTriedAgain(t *testing.T) {
|
|||||||
if len(tg.sends) != 1 || h.Status("listening").Verdict != "ok" {
|
if len(tg.sends) != 1 || h.Status("listening").Verdict != "ok" {
|
||||||
t.Fatalf("not retried: %d, %s", len(tg.sends), h.Status("listening").Verdict)
|
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) {
|
func TestNothingConfiguredIsSaidInTheStatus(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user