test: assert the allocation hold extends past the original quiet deadline

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
user.emailandDevin committed 2026-10-25 03:25:01 -07:00
1 parent 70bbd27638
commit cbbc9e6efe
1 file changed
+2 -1
+2 -1
View File
@@ -166,8 +166,9 @@ func TestAllocationDelayExtendedByEvidence(t *testing.T) {
topo.DeferAllocation(time.Minute)
time.Sleep(600 * time.Millisecond)
topo.NoteAllocationEvidence()
time.Sleep(600 * time.Millisecond)
if wait := topo.allocationDelay(); wait <= 0 {
t.Fatal("fresh evidence should extend the deferral")
t.Fatal("evidence should extend the deferral past the original quiet deadline")
}
}