fix route table migration wiping routes 0.22 -> 0.23 (#2076)

This commit is contained in:
Kristoffer Dalby
2024-08-27 18:54:28 +02:00
committed by GitHub
parent 827e3e83ae
commit cf6a606d74
9 changed files with 204 additions and 19 deletions

View File

@@ -609,12 +609,14 @@ func TestEphemeralGarbageCollectorOrder(t *testing.T) {
})
go e.Start()
e.Schedule(1, 1*time.Second)
e.Schedule(2, 2*time.Second)
e.Schedule(3, 3*time.Second)
e.Schedule(4, 4*time.Second)
e.Cancel(2)
e.Cancel(4)
go e.Schedule(1, 1*time.Second)
go e.Schedule(2, 2*time.Second)
go e.Schedule(3, 3*time.Second)
go e.Schedule(4, 4*time.Second)
time.Sleep(time.Second)
go e.Cancel(2)
go e.Cancel(4)
time.Sleep(6 * time.Second)