Versions in this module Expand all Collapse all v0 v0.8.3 Apr 27, 2018 Changes in this version + const TravisRunEnv + func AssertUntil(until time.Duration, test testFn, error errorFn) + func IsTravis() bool + func SkipSlow(t testing.T) + func TestMultiplier() int64 + func Timeout(original time.Duration) time.Duration + func VaultVersion() (string, error) + func WaitForLeader(t testing.T, rpc rpcFn) + func WaitForResult(test testFn, error errorFn) + func WaitForResultRetries(retries int64, test testFn, error errorFn) + type ACLConfig struct + Enabled bool + type Advertise struct + HTTP string + RPC string + Serf string + type ClientConfig struct + Enabled bool + type Consul struct + Address string + Auth string + Token string + type PortsConfig struct + HTTP int + RPC int + Serf int + type ServerConfig struct + BootstrapExpect int + Enabled bool + RaftProtocol int + type ServerConfigCallback func(c *TestServerConfig) + type TestServer struct + Config *TestServerConfig + HTTPAddr string + HTTPClient *http.Client + SerfAddr string + func NewTestServer(t testing.T, cb ServerConfigCallback) *TestServer + func (s *TestServer) Stop() + type TestServerConfig struct + ACL *ACLConfig + AdvertiseAddrs *Advertise + Client *ClientConfig + Consul *Consul + DataDir string + DevMode bool + DisableCheckpoint bool + LogLevel string + NodeName string + Ports *PortsConfig + Region string + Server *ServerConfig + Stderr io.Writer + Stdout io.Writer + Vault *VaultConfig + type TestVault struct + Addr string + Client *vapi.Client + Config *config.VaultConfig + HTTPAddr string + RootToken string + func NewTestVault(t testing.T) *TestVault + func NewTestVaultDelayed(t testing.T) *TestVault + func (tv *TestVault) Start() error + func (tv *TestVault) Stop() + type VaultConfig struct + Enabled bool