Commit f6ac16e2 authored by David Vorick's avatar David Vorick

attept to fix ibd test ndf

parent 80e9162f
......@@ -286,7 +286,6 @@ func TestInitialBlockchainDownloadDoneRules(t *testing.T) {
if testing.Short() {
t.SkipNow()
}
t.Parallel()
testdir := build.TempDir(modules.ConsensusDir, "TestInitialBlockchainDownloadDoneRules")
// Create a gateway that can be forced to return errors when its RPC method
......@@ -420,7 +419,7 @@ func TestInitialBlockchainDownloadDoneRules(t *testing.T) {
}
select {
case <-doneChan:
case <-time.After(minIBDWaitTime + ibdLoopDelay):
case <-time.After(2 * (minIBDWaitTime + ibdLoopDelay)):
t.Fatal("threadedInitialBlockchainDownload never finished with 2 synced peers and 1 non-synced peer")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment