From c91b7710acda6e1cfb37fff66d506bcc54c0b9c6 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 25 Jun 2024 14:11:35 +1000 Subject: [PATCH] test: niporep: correct error message for future sealrand --- itests/niporep_manual_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itests/niporep_manual_test.go b/itests/niporep_manual_test.go index cd3da82e9e6..c49bb1264b8 100644 --- a/itests/niporep_manual_test.go +++ b/itests/niporep_manual_test.go @@ -241,7 +241,7 @@ func verifyProveCommitSectorsNIErrorConditions(ctx context.Context, t *testing.T req.NoError(err) params = mkParams() params.Sectors[1].SealRandEpoch = head.Height() + builtin.EpochsInDay - submitAndFail(¶ms, "call ran out of gas", -1) // TODO: when actors is fixed, this should be: "invalid NI commit 1 while requiring activation success", 16) + submitAndFail(¶ms, fmt.Sprintf("seal challenge epoch %d must be before now", params.Sectors[1].SealRandEpoch), 16) params.Sectors[1].SealRandEpoch = head.Height() - 190*builtin.EpochsInDay submitAndFail(¶ms, "invalid NI commit 1 while requiring activation success", 16)