mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
eth: fix flaky test
This commit is contained in:
parent
bf12aa5aef
commit
7a8f87a95d
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ func testBroadcastBlock(t *testing.T, totalPeers, broadcastExpected int) {
|
|||
case <-doneCh:
|
||||
received++
|
||||
|
||||
case <-time.After(100 * time.Millisecond):
|
||||
case <-time.After(time.Second):
|
||||
if received != broadcastExpected {
|
||||
t.Errorf("broadcast count mismatch: have %d, want %d", received, broadcastExpected)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue