From 70d2899ead8815bb5366c9cf8bbe5bdcfcbf6bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 9 May 2023 19:11:15 +0200 Subject: [PATCH] itests: wdpost: Address review --- itests/worker_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/itests/worker_test.go b/itests/worker_test.go index 87bb0047d..246c842c5 100644 --- a/itests/worker_test.go +++ b/itests/worker_test.go @@ -556,7 +556,7 @@ func TestWindowPostV1P1NV20WorkerFault(t *testing.T) { maddr, err := miner.ActorAddress(ctx) require.NoError(t, err) - // wait for some crons(?) + // wait for sectors to be committed require.Eventually(t, func() bool { di, err := client.StateMinerProvingDeadline(ctx, maddr, types.EmptyTSK) require.NoError(t, err) @@ -596,11 +596,11 @@ func TestWindowPostV1P1NV20WorkerFault(t *testing.T) { require.NoError(t, err) require.Equal(t, uint64(2), n) - // Drop the sector in second partition + // Drop the sector in first partition sid, err := secs.First() require.NoError(t, err) - t.Logf("Drop sector %d; dl %d part %d", sid, di.Index+1, 0) + t.Logf("Drop sector %d; dl %d part %d", sid, di.Index, 0) atomic.StoreUint64(&badsector, sid) require.NoError(t, err)