make gen for tests

This commit is contained in:
Shrenuj Bansal 2022-08-17 14:02:53 -04:00
parent 99040a89c6
commit 087a838db5
2 changed files with 12 additions and 5 deletions

View File

@ -889,6 +889,11 @@ workflows:
suite: itest-deals suite: itest-deals
target: "./itests/deals_test.go" 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: - test:
name: test-itest-gas_estimation name: test-itest-gas_estimation
suite: itest-gas_estimation suite: itest-gas_estimation

View File

@ -2,15 +2,18 @@ package itests
import ( import (
"context" "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/go-state-types/big"
"github.com/filecoin-project/lotus/api" "github.com/filecoin-project/lotus/api"
"github.com/filecoin-project/lotus/chain/actors/builtin" "github.com/filecoin-project/lotus/chain/actors/builtin"
"github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/chain/types"
"github.com/filecoin-project/lotus/itests/kit" "github.com/filecoin-project/lotus/itests/kit"
uuid2 "github.com/google/uuid"
"github.com/stretchr/testify/require"
"testing"
"time"
) )
func TestDuplicateMpoolMessages(t *testing.T) { func TestDuplicateMpoolMessages(t *testing.T) {
@ -24,7 +27,6 @@ func TestDuplicateMpoolMessages(t *testing.T) {
client, _, ens := kit.EnsembleMinimal(t, kit.MockProofs()) client, _, ens := kit.EnsembleMinimal(t, kit.MockProofs())
ens.InterconnectAll().BeginMining(blockTime) ens.InterconnectAll().BeginMining(blockTime)
// send f099 half of account balance
msgBal := &types.Message{ msgBal := &types.Message{
From: client.DefaultKey.Address, From: client.DefaultKey.Address,
To: builtin.BurntFundsActorAddr, To: builtin.BurntFundsActorAddr,