From d0f639d64d029833378e68f72636c5ec2f8c277e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Sat, 2 Dec 2023 12:47:44 +0100 Subject: [PATCH] try to fix worker tests --- itests/wdpost_worker_config_test.go | 2 +- itests/worker_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/wdpost_worker_config_test.go b/itests/wdpost_worker_config_test.go index d1672c20f..ca22d82e4 100644 --- a/itests/wdpost_worker_config_test.go +++ b/itests/wdpost_worker_config_test.go @@ -139,7 +139,7 @@ func TestWindowPostNoBuiltinWindowWithWorker(t *testing.T) { t.Log("post message landed") - bm.MineBlocks(ctx, 2*time.Millisecond) + bm.MineBlocksMustPost(ctx, 2*time.Millisecond) waitUntil = di.Open + di.WPoStChallengeWindow*3 t.Logf("End for head.Height > %d", waitUntil) diff --git a/itests/worker_test.go b/itests/worker_test.go index c4f885fb0..d3273dd6c 100644 --- a/itests/worker_test.go +++ b/itests/worker_test.go @@ -551,7 +551,7 @@ func TestWindowPostV1P1NV20WorkerFault(t *testing.T) { } })) - bm := ens.InterconnectAll().BeginMining(blocktime)[0] + bm := ens.InterconnectAll().BeginMiningMustPost(blocktime)[0] maddr, err := miner.ActorAddress(ctx) require.NoError(t, err)