From 286482fd99bfa0f899ba89b769edf1c11b3c1b28 Mon Sep 17 00:00:00 2001 From: Aayush Date: Mon, 31 Jul 2023 16:07:09 -0400 Subject: [PATCH] fix: failing test: Tweak TestWindowPostV1P1NV20 test condition --- itests/wdpost_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/itests/wdpost_test.go b/itests/wdpost_test.go index 08c9d4343..c66653866 100644 --- a/itests/wdpost_test.go +++ b/itests/wdpost_test.go @@ -484,8 +484,9 @@ waitForProof: slmsg.Params = v1PostParams.Bytes() // Simulate call on inclTs's parents, so that the partition isn't already proven - _, err = client.StateCall(ctx, slmsg, inclTs.Parents()) - require.ErrorContains(t, err, "expected proof of type StackedDRGWindow2KiBV1P1, got StackedDRGWindow2KiBV1") + ret, err := client.StateCall(ctx, slmsg, inclTs.Parents()) + require.NoError(t, err) + require.Contains(t, ret.Error, "expected proof of type StackedDRGWindow2KiBV1P1, got StackedDRGWindow2KiBV1") for { //stm: @CHAIN_STATE_MINER_CALCULATE_DEADLINE_001