mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
24 lines
468 B
Go
24 lines
468 B
Go
package machine
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
|
|
"github.com/planetmint/planetmint-go/testutil/network"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
func TestE2EMachineTestSuite(t *testing.T) {
|
|
time.Sleep(2 * time.Second)
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestE2EProsumeTestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewProsumeE2ETestSuite(cfg))
|
|
}
|