test: increase max wait time for peering assertion
The peering test is flaky and fails waiting for peers to be connected to each other, I don't know if this will fix it, but worth trying.
Gus Eggert committed
Mar 16, 2023 at 10:29 UTC
60ba0b1821127cbc58ed27a53d5968219b01b095
1 file changed
+1
-1
test/cli/peering_test.go
+1
-1
@@ -46,7 +46,7 @@ func TestPeering(t *testing.T) {
46
fromPeerIDs = append(fromPeerIDs, h.ExtractPeerID(p))
47
}
48
return containsPeerID(to.PeerID(), fromPeerIDs)
49
- }, 20*time.Second, 10*time.Millisecond, "%d -> %d not peered", from.ID, to.ID)
49
+ }, time.Minute, 10*time.Millisecond, "%d -> %d not peered", from.ID, to.ID)
50
}
51
52
assertNotPeered := func(h *harness.Harness, from *harness.Node, to *harness.Node) {