mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

* added panic if there is no key pair that can be used for the node (keystore or trustwallet) * renamed GetValidatorAddress to GetNodeAddress * fixed lib/test/e2e failing test case. The issue is an internal race condition of the unit test network in case of 1 node. Moving to two nodes solves the issue with the test case. In case of 1 validator, the first chain interaction happens before the address environment variables are set Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
17 lines
289 B
Go
17 lines
289 B
Go
package machine
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/planetmint/planetmint-go/testutil/network"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
func TestE2ELibTestSuite(t *testing.T) {
|
|
t.Parallel()
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 2
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|