feat: deflake TestDealsWithFinalizeEarly

This commit is contained in:
Aayush 2023-06-13 10:14:28 -04:00
parent 4ca5b0ede9
commit 44aadb7962

View File

@ -31,8 +31,8 @@ func TestDealsWithFinalizeEarly(t *testing.T) {
var blockTime = 50 * time.Millisecond
// We use two miners so that in case the actively tested miner misses PoSt, we still have a blockchain
client, miner, _, ens := kit.EnsembleOneTwo(t, kit.ThroughRPC(), kit.MutateSealingConfig(func(sc *config.SealingConfig) { sc.FinalizeEarly = true })) // no mock proofs.
ens.InterconnectAll().BeginMining(blockTime)
client, miner, poster, ens := kit.EnsembleOneTwo(t, kit.ThroughRPC(), kit.MutateSealingConfig(func(sc *config.SealingConfig) { sc.FinalizeEarly = true })) // no mock proofs.
ens.InterconnectAll().BeginMiningMustPost(blockTime, poster)
dh := kit.NewDealHarness(t, client, miner, miner)
ctx := context.Background()