Documentation ¶
Index ¶
- func ChainConfigWithGenesisValidatorAddresses() map[string]interface{}
- func DefaultTestLogger() log.Logger
- func Eventually(timeout time.Duration, f func() bool) bool
- func GetBlockHeight(getMetrics func() (map[string]interface{}, error)) (int, error)
- func GetMetricsForPort(httpPort int) func() (map[string]interface{}, error)
- func LocalIP() string
- func NodeAddresses() []string
- func SkipUnlessSwarmIsEnabled(t *testing.T)
- func WaitForBlock(t *testing.T, getMetrics func() (map[string]interface{}, error), ...)
- type HttpServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChainConfigWithGenesisValidatorAddresses ¶
func ChainConfigWithGenesisValidatorAddresses() map[string]interface{}
func DefaultTestLogger ¶
func GetBlockHeight ¶
func GetMetricsForPort ¶
func NodeAddresses ¶
func NodeAddresses() []string
Types ¶
type HttpServer ¶
func CreateHttpServer ¶
func CreateHttpServer(path string, port int, f func(writer http.ResponseWriter, request *http.Request)) HttpServer
Click to show internal directories.
Click to hide internal directories.