# Functions
AssertUntil asserts the test function passes throughout the given duration.
NewTestServer creates a new TestServer, and makes a call to an optional callback function to modify the configuration.
NewTestVault returns a new TestVault instance that has yet to be started.
NewTestVaultDelayed returns a test Vault server that has not been started.
RegisterJobWithToken registers a job and uses the job's Region and Namespace.
RequireDeadlineErr requires that an error be caused by a net.Conn's deadline being reached (after being set by conn.Set{Read,Write}Deadline or SetDeadline).
SkipSlow skips a slow test unless the NOMAD_SLOW_TEST environment variable is set.
TestMultiplier returns a multiplier for retries and waits given environment the tests are being run under.
Timeout takes the desired timeout and increases it if running in Travis.
VaultVersion returns the Vault version as a string or an error if it couldn't be determined.
WaitForLeader blocks until a leader is elected.
WaitForRunning runs a job and blocks until all allocs are out of pending.
WaitForVotingMembers blocks until autopilot promotes all server peers to be voting members.
# Structs
ACLConfig is used to configure ACLs.
Advertise is used to configure the addresses to advertise.
ClientConfig is used to configure the client.
Consul is used to configure the communication with Consul.
PortsConfig is used to configure the network ports we use.
ResponseRecorder implements a ResponseWriter which can be written to and read from concurrently.
ServerConfig is used to configure the nomad server.
TestServer is the main server wrapper struct.
TestServerConfig is the main server configuration struct.
TestVault wraps a test Vault server launched in dev mode, suitable for testing.
VaultConfig is used to configure Vault.
# Type aliases
ServerConfigCallback is a function interface which can be passed to NewTestServerConfig to modify the server config.