eth, les: fix time sensitive unit tests (#20741)

This commit is contained in:
gary rong 2020-03-12 18:25:52 +08:00 committed by Igor Mandrigin
parent 27180454fe
commit 455cf1b7de
2 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@ func testCheckpointChallenge(t *testing.T, syncmode downloader.SyncMode, checkpo
}
}
// Wait until the test timeout passes to ensure proper cleanup
time.Sleep(syncChallengeTimeout + 100*time.Millisecond)
time.Sleep(syncChallengeTimeout + 300*time.Millisecond)
// Verify that the remote peer is maintained or dropped
if drop {

@ -1 +1 @@
Subproject commit 7497b116a019beb26215cbea4028df068dea06be
Subproject commit b5eb9900ee2147b40d3e681fe86efa4fd693959a