diff --git a/itests/sector_finalize_early_test.go b/itests/sector_finalize_early_test.go index fb7d9d94d..87e1384a2 100644 --- a/itests/sector_finalize_early_test.go +++ b/itests/sector_finalize_early_test.go @@ -30,7 +30,8 @@ func TestDealsWithFinalizeEarly(t *testing.T) { var blockTime = 50 * time.Millisecond - client, miner, ens := kit.EnsembleMinimal(t, kit.ThroughRPC(), kit.MutateSealingConfig(func(sc *config.SealingConfig) { sc.FinalizeEarly = true })) // no mock proofs. + // 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) dh := kit.NewDealHarness(t, client, miner, miner) diff --git a/itests/sector_import_full_test.go b/itests/sector_import_full_test.go index 35fc3e623..e4ec5e141 100644 --- a/itests/sector_import_full_test.go +++ b/itests/sector_import_full_test.go @@ -65,7 +65,8 @@ func TestSectorImport(t *testing.T) { //////// // Start a miner node - client, miner, ens := kit.EnsembleMinimal(t, kit.ThroughRPC()) + // 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()) ens.InterconnectAll().BeginMining(blockTime) ctx := context.Background()