From 087a838db52d691d4f7d5c534748db3dde371035 Mon Sep 17 00:00:00 2001 From: Shrenuj Bansal Date: Wed, 17 Aug 2022 14:02:53 -0400 Subject: [PATCH] make gen for tests --- .circleci/config.yml | 5 +++++ itests/dup_mpool_messages_test.go | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 02b42d335..c438612ad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -889,6 +889,11 @@ workflows: suite: itest-deals target: "./itests/deals_test.go" + - test: + name: test-itest-dup_mpool_messages + suite: itest-dup_mpool_messages + target: "./itests/dup_mpool_messages_test.go" + - test: name: test-itest-gas_estimation suite: itest-gas_estimation diff --git a/itests/dup_mpool_messages_test.go b/itests/dup_mpool_messages_test.go index 267112ecc..a595cf842 100644 --- a/itests/dup_mpool_messages_test.go +++ b/itests/dup_mpool_messages_test.go @@ -2,15 +2,18 @@ package itests import ( "context" + "testing" + "time" + + uuid2 "github.com/google/uuid" + "github.com/stretchr/testify/require" + "github.com/filecoin-project/go-state-types/big" + "github.com/filecoin-project/lotus/api" "github.com/filecoin-project/lotus/chain/actors/builtin" "github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/itests/kit" - uuid2 "github.com/google/uuid" - "github.com/stretchr/testify/require" - "testing" - "time" ) func TestDuplicateMpoolMessages(t *testing.T) { @@ -24,7 +27,6 @@ func TestDuplicateMpoolMessages(t *testing.T) { client, _, ens := kit.EnsembleMinimal(t, kit.MockProofs()) ens.InterconnectAll().BeginMining(blockTime) - // send f099 half of account balance msgBal := &types.Message{ From: client.DefaultKey.Address, To: builtin.BurntFundsActorAddr,