We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5a719 commit 8735e5aCopy full SHA for 8735e5a
p2p/server_test.go
@@ -480,7 +480,7 @@ func TestServerMaxPendingAccepts(t *testing.T) {
480
case <-started:
481
t.Fatalf("handshake on second connection accepted")
482
483
- case <-time.After(100 * time.Millisecond):
+ case <-time.After(time.Second):
484
}
485
// Shake on first, check that both go through
486
go func() {
@@ -493,7 +493,7 @@ func TestServerMaxPendingAccepts(t *testing.T) {
493
for i := 0; i < 2; i++ {
494
select {
495
496
497
t.Fatalf("peer %d: handshake timeout", i)
498
499
0 commit comments