Documentation ¶
Overview ¶
e2e implements the e2e tests.
Index ¶
- Constants
- func CloseRunnerClient() (err error)
- func DescribeLocal(text string, body func()) bool
- func DescribeXChain(text string, body func()) bool
- func GetEnableWhitelistTxTests() (b bool)
- func GetExecPath() (p string)
- func GetRunnerClient() (cli runner_client.Client)
- func GetRunnerGRPCEndpoint() (ep string)
- func GetURIs() []string
- func SetEnableWhitelistTxTests(b bool)
- func SetExecPath(p string)
- func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_client.Client, err error)
- func SetURIs(us []string)
Constants ¶
View Source
const ( // Enough for primary.NewWallet to fetch initial UTXOs. DefaultWalletCreationTimeout = 5 * time.Second // Defines default tx confirmation timeout. // Enough for test/custom networks. DefaultConfirmTxTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func CloseRunnerClient ¶
func CloseRunnerClient() (err error)
func DescribeLocal ¶
DescribeLocal annotates the tests that requires local network-runner. Can only run with local cluster.
func DescribeXChain ¶
DescribeXChain annotates the tests for X-Chain. Can run with any type of cluster (e.g., local, fuji, mainnet).
func GetEnableWhitelistTxTests ¶
func GetEnableWhitelistTxTests() (b bool)
func GetExecPath ¶
func GetExecPath() (p string)
func GetRunnerClient ¶
func GetRunnerClient() (cli runner_client.Client)
func GetRunnerGRPCEndpoint ¶
func GetRunnerGRPCEndpoint() (ep string)
func SetEnableWhitelistTxTests ¶
func SetEnableWhitelistTxTests(b bool)
func SetExecPath ¶
func SetExecPath(p string)
func SetRunnerClient ¶
func SetRunnerClient(logLevel string, gRPCEp string) (cli runner_client.Client, err error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Implements ping tests, requires network-runner cluster.
|
Implements ping tests, requires network-runner cluster. |
Implements X-Chain whitelist vtx (stop vertex) tests.
|
Implements X-Chain whitelist vtx (stop vertex) tests. |
x
|
|
transfer
Implements transfer tests.
|
Implements transfer tests. |
Click to show internal directories.
Click to hide internal directories.