package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Functions

AgentRestart is a test helper function that restarts a client node running under systemd using a raw_exec job.
CheckServicesPassing scans for passing agent checks via the given agent API client.
Command sends a command line argument to Nomad and returns the unbuffered stdout as a string (or, if there's an error, the stderr).
ListLinuxClientNodes returns a list of Linux client IDs, so that tests can skip operating-specific tests if there are no Linux clients available Returns an error only on client errors.
ListWindowsClientNodes returns a list of Windows client IDs, so that tests can skip operating-specific tests if there are no Windows clients available.
RegisterAndWaitForAllocs wraps RegisterAllocs but blocks until Evals successfully create Allocs.
RequireConsulDeregistered asserts that the service eventually is deregistered from Consul.
RequireConsulStatus asserts the aggregate health of the service converges to the expected status.
WaitForJobStopped stops a job and waits for all of its allocs to terminate.
WaitForNodesReady waits until at least `nodes` number of nodes are ready or fails the test.

# Constants

# Type aliases