From 44aadb79621823045335ffcab179eecd113cc411 Mon Sep 17 00:00:00 2001 From: Aayush Date: Tue, 13 Jun 2023 10:14:28 -0400 Subject: [PATCH] feat: deflake TestDealsWithFinalizeEarly --- itests/sector_finalize_early_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/sector_finalize_early_test.go b/itests/sector_finalize_early_test.go index 87e1384a2..1b8fcb346 100644 --- a/itests/sector_finalize_early_test.go +++ b/itests/sector_finalize_early_test.go @@ -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()