Browse Source

eth: increase timeout to fix a spurious travis test failure (#20560)

Martin Holst Swende 5 năm trước cách đây
mục cha
commit
f20c8d495a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      eth/handler_test.go

+ 1 - 1
eth/handler_test.go

@@ -608,7 +608,7 @@ func testBroadcastBlock(t *testing.T, totalPeers, broadcastExpected int) {
 			}
 		}(peer)
 	}
-	timeout := time.After(time.Second)
+	timeout := time.After(2 * time.Second)
 	var receivedCount int
 outer:
 	for {