Test that a healthy node-engine passes at two minutes on one reading
mesh/merge-gate head 41eefc2f8c3e merged into trunk bff5b7f0e4f8 — pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every …
mesh/repo-check head 41eefc2f8c3e merged into trunk bff5b7f0e4f8 — fail: its merge-check.sh failed: --- FAIL: TestACoreBehindWhileTheNodeToolsSettleFailsNo…
mesh/delivery superseded: a newer head of the same pull request
mesh/merge-gate head 41eefc2f8c3e merged into trunk bff5b7f0e4f8 — pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every …
mesh/repo-check head 41eefc2f8c3e merged into trunk bff5b7f0e4f8 — fail: its merge-check.sh failed: --- FAIL: TestACoreBehindWhileTheNodeToolsSettleFailsNo…
mesh/delivery superseded: a newer head of the same pull request
This commit is contained in:
@@ -217,6 +217,11 @@ func TestAHealthyNodeEngineIsNeverHeldPastTwoMinutes(t *testing.T) {
|
|||||||
if g.Verdict != inventory.GatePassed || g.Passes != 2 {
|
if g.Verdict != inventory.GatePassed || g.Passes != 2 {
|
||||||
t.Fatalf("late readings, healthy throughout, at two minutes: %+v; want passed on two", g)
|
t.Fatalf("late readings, healthy throughout, at two minutes: %+v; want passed on two", g)
|
||||||
}
|
}
|
||||||
|
g, judge = threeReadings(t, "mesh-host", time.Now())
|
||||||
|
judge(2*time.Minute, healthGood)
|
||||||
|
if g.Verdict != inventory.GatePassed || g.Passes != 1 {
|
||||||
|
t.Fatalf("one healthy reading, at two minutes: %+v; want passed on it", g)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// A reading not yet healthy before the first healthy one is the build still starting: the two minutes still hold.
|
// A reading not yet healthy before the first healthy one is the build still starting: the two minutes still hold.
|
||||||
|
|||||||
Reference in New Issue
Block a user