add more time to miner to bootstrap

This commit is contained in:
Anton Evangelatov 2020-11-25 14:29:57 +01:00
parent 86af05ba6f
commit a53fd82379

View File

@ -72,7 +72,10 @@ func dealsE2E(t *testkit.TestEnvironment) error {
} }
} }
time.Sleep(12 * time.Second) // give some time to the miner, otherwise, we get errors like:
// deal errored deal failed: (State=26) error calling node: publishing deal: GasEstimateMessageGas
// error: estimating gas used: message execution failed: exit 19, reason: failed to lock balance: failed to lock client funds: not enough balance to lock for addr t0102: escrow balance 0 < locked 0 + required 640297000 (RetCode=19)
time.Sleep(40 * time.Second)
// generate 1600 bytes of random data // generate 1600 bytes of random data
data := make([]byte, 1600) data := make([]byte, 1600)