Merge pull request #9881 from filecoin-project/gstuart/multisig-flake

fix: test: Maybe help with TestMultisigReentrant flakes
This commit is contained in:
Geoff Stuart 2022-12-15 13:18:45 -05:00 committed by GitHub
commit 0b1cc40fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ func QuietMiningLogs() {
_ = logging.SetLogLevel("chainstore", "ERROR")
_ = logging.SetLogLevel("chain", "ERROR")
_ = logging.SetLogLevel("sub", "ERROR")
_ = logging.SetLogLevel("wdpost", "ERROR")
_ = logging.SetLogLevel("storageminer", "ERROR")
_ = logging.SetLogLevel("pubsub", "ERROR")
_ = logging.SetLogLevel("gen", "ERROR")

View File

@ -133,7 +133,7 @@ func TestMultisigReentrant(t *testing.T) {
sl, err := client.StateReplay(ctx, types.EmptyTSK, pm.Cid())
require.NoError(t, err, "failed to replay reentrant propose message (StateWaitMsg)")
require.Equal(t, 1025, countDepth(sl.ExecutionTrace))
require.Equal(t, 1025, countDepth(sl.ExecutionTrace), "failed: %s", sl.Error)
}
func countDepth(trace types.ExecutionTrace) int {