lotus/itests/multisig_test.go

23 lines
443 B
Go
Raw Normal View History

2021-05-17 12:28:09 +00:00
package itests
import (
"context"
"os"
"testing"
"time"
2021-05-17 12:28:09 +00:00
"github.com/filecoin-project/lotus/cli"
)
// TestMultisig does a basic test to exercise the multisig CLI
// commands
func TestMultisig(t *testing.T) {
_ = os.Setenv("BELLMAN_NO_GPU", "1")
2021-05-17 12:28:09 +00:00
QuietMiningLogs()
blocktime := 5 * time.Millisecond
ctx := context.Background()
2021-05-17 12:28:09 +00:00
clientNode, _ := StartOneNodeOneMiner(ctx, t, blocktime)
RunMultisigTest(t, cli.Commands, clientNode)
}