Documentation ¶
Index ¶
- Constants
- Variables
- func AssertGossipServer(t helpers.TestingT, vc VChainArgument)
- func AssertManagementServiceUp(t helpers.TestingT, port int)
- func AssertServiceDown(t helpers.TestingT, ctx context.Context, serviceName string)
- func AssertServiceLogsExist(t helpers.TestingT, port int, service string)
- func AssertServiceStatusExists(t helpers.TestingT, port int, service string)
- func AssertServiceUp(t helpers.TestingT, ctx context.Context, serviceName string)
- func AssertVchainDown(t helpers.TestingT, port int, vc1 VChainArgument)
- func AssertVchainLogsExist(t helpers.TestingT, port int, vc VChainArgument)
- func AssertVchainStatusExists(t helpers.TestingT, port int, vc VChainArgument)
- func AssertVchainUp(t helpers.TestingT, port int, publickKey string, vc1 VChainArgument)
- func AssertVolumeExists(t helpers.TestingT, ctx context.Context, volume string)
- func InProcessBoyar(t *testing.T, ctx context.Context, logger log.Logger, flags *config.Flags) govnr.ShutdownWaiter
- func SetupConfigServer(t *testing.T, keyPair KeyConfig, ...) (*config.Flags, func())
- func SetupDynamicBoyarDepencenciesForNetwork(t *testing.T, deps boyarDependencies, vChains <-chan []VChainArgument) (*config.Flags, func())
- func SetupDynamicBoyarDependencies(t *testing.T, keyPair KeyConfig, genesisValidators []string, ...) (*config.Flags, func())
- func TempFile(t *testing.T, keyPairJson []byte) *os.File
- type JsonMap
- type KeyConfig
- type VChainArgument
Constants ¶
View Source
const DEFAULT_VCHAIN_TIMEOUT = 120 * time.Second
Variables ¶
View Source
var NETWORK_KEY_CONFIG = []KeyConfig{
{
"a328846cd5b4979d68a8c58a9bdfeee657b34de7",
"901a1a0bfbe217593062a054e561e708707cb814a123474c25fd567a0fe088f8",
},
{
"d27e2e7398e2582f63d0800330010b3e58952ff6",
"87a210586f57890ae3642c62ceb58f0f0a54e787891054a5a54c80e1da418253",
},
{
"6e2cb55e4cbe97bf5b1e731d51cc2c285d83cbf9",
"426308c4d11a6348a62b4fdfb30e2cad70ab039174e2e8ea707895e4c644c4ec",
},
{
"c056dfc0d1fbc7479db11e61d1b0b57612bf7f17",
"1e404ba4e421cedf58dcc3dddcee656569afc7904e209612f7de93e1ad710300",
},
}
Functions ¶
func AssertGossipServer ¶ added in v1.0.0
func AssertGossipServer(t helpers.TestingT, vc VChainArgument)
func AssertManagementServiceUp ¶ added in v1.0.0
func AssertServiceDown ¶ added in v1.0.0
func AssertServiceLogsExist ¶ added in v1.0.0
func AssertServiceStatusExists ¶ added in v1.0.0
func AssertServiceUp ¶ added in v1.0.0
func AssertVchainDown ¶ added in v1.0.0
func AssertVchainDown(t helpers.TestingT, port int, vc1 VChainArgument)
func AssertVchainLogsExist ¶ added in v1.0.0
func AssertVchainLogsExist(t helpers.TestingT, port int, vc VChainArgument)
func AssertVchainStatusExists ¶ added in v1.0.0
func AssertVchainStatusExists(t helpers.TestingT, port int, vc VChainArgument)
func AssertVchainUp ¶ added in v1.0.0
func AssertVchainUp(t helpers.TestingT, port int, publickKey string, vc1 VChainArgument)
func AssertVolumeExists ¶ added in v1.0.0
func InProcessBoyar ¶ added in v1.0.0
func SetupConfigServer ¶ added in v1.0.0
func SetupDynamicBoyarDepencenciesForNetwork ¶ added in v1.0.0
func SetupDynamicBoyarDepencenciesForNetwork(t *testing.T, deps boyarDependencies, vChains <-chan []VChainArgument) (*config.Flags, func())
func SetupDynamicBoyarDependencies ¶ added in v1.0.0
Types ¶
type JsonMap ¶ added in v1.0.0
type JsonMap struct {
// contains filtered or unexported fields
}
func GetVChainMetrics ¶ added in v1.0.0
func GetVChainMetrics(t helpers.TestingT, port int, vc VChainArgument) JsonMap
type VChainArgument ¶ added in v1.0.0
func (VChainArgument) ExternalPort ¶ added in v1.0.0
func (vc VChainArgument) ExternalPort() int
Click to show internal directories.
Click to hide internal directories.