try to fix worker tests

This commit is contained in:
Łukasz Magiera 2023-12-02 12:47:44 +01:00
parent fac38d6631
commit d0f639d64d
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)