aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-16 17:14:20 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-16 17:38:37 +0800
commit993b41216092fa6dc20d3755afe322cd1376b398 (patch)
tree328c438483cb7c87333190605ec1ef79cfa162a6 /eth/handler_test.go
parent2c2e389b778b490fcaf14d9cc45a750647ca5c68 (diff)
downloaddexon-993b41216092fa6dc20d3755afe322cd1376b398.tar
dexon-993b41216092fa6dc20d3755afe322cd1376b398.tar.gz
dexon-993b41216092fa6dc20d3755afe322cd1376b398.tar.bz2
dexon-993b41216092fa6dc20d3755afe322cd1376b398.tar.lz
dexon-993b41216092fa6dc20d3755afe322cd1376b398.tar.xz
dexon-993b41216092fa6dc20d3755afe322cd1376b398.tar.zst
dexon-993b41216092fa6dc20d3755afe322cd1376b398.zip
cmd/utils, eth: display the user's current fork, minor text tweak
Diffstat (limited to 'eth/handler_test.go')
-rw-r--r--eth/handler_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/handler_test.go b/eth/handler_test.go
index 60a642130..66ff26809 100644
--- a/eth/handler_test.go
+++ b/eth/handler_test.go
@@ -638,6 +638,7 @@ func testDAOChallenge(t *testing.T, localForked, remoteForked bool, timeout bool
if err := p2p.Send(peer.app, BlockHeadersMsg, []*types.Header{blocks[0].Header()}); err != nil {
t.Fatalf("failed to answer challenge: %v", err)
}
+ time.Sleep(100 * time.Millisecond) // Sleep to avoid the verification racing with the drops
} else {
// Otherwise wait until the test timeout passes
time.Sleep(daoChallengeTimeout + 500*time.Millisecond)