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.
No description provided by the author
No description provided by the author
No description provided by the author
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).
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WaitForJobStopped stops a job and waits for all of its allocs to terminate.
No description provided by the author
WaitForNodesReady waits until at least `nodes` number of nodes are ready or fails the test.

# Constants

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author