open-nomad/e2e/servicediscovery/doc.go
James Rasell bc800a18d1
e2e: add initial service discovery tests. (#12512)
Some tests may chose to deregister jobs to check Nomad cleanup
logic, however, it is still possible for the test to fail and exit
before this is hit. This therefore adds a cancellable cleanup func
which can be deferred, using context to control whether it gets
run or not.
2022-04-11 11:12:24 +02:00

11 lines
510 B
Go

// Package servicediscovery provides end-to-end tests for Nomads service
// discovery feature. It tests all supported discovery providers and ensures
// Nomad can handle operator changes to services with the desired effects.
//
// Subsystems of service discovery such as Consul Connect or Consul Template
// have their own suite of tests.
//
// In order to run this test suite only, from the e2e directory you can trigger
// go test -v -run '^TestServiceDiscovery$' ./servicediscovery
package servicediscovery