From f39478140a7e792dfc9a84506907402242efe2c6 Mon Sep 17 00:00:00 2001 From: Aayush Date: Thu, 11 May 2023 15:08:12 -0400 Subject: [PATCH] feat: deflake sector_import_simple --- itests/sector_import_simple_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/itests/sector_import_simple_test.go b/itests/sector_import_simple_test.go index 0cf7e098b..f34438694 100644 --- a/itests/sector_import_simple_test.go +++ b/itests/sector_import_simple_test.go @@ -39,7 +39,9 @@ func TestSectorImportAfterPC2(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()