mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
Also refactor Consul ServiceClient to take a struct instead of a massive set of arguments. Meant updating a lot of code but it should be far easier to extend in the future as you will only need to update a single struct instead of every single call site. Adds an e2e test for canary tags.
End to End Tests
This package contains integration tests that are not run by default. To run them use the -integration flag. Example:
$ cd e2e/rescheduling/
$ go test -integration
Running Suite: Server Side Restart Tests
========================================
Random Seed: 1520633027
Will run 7 of 7 specs
•••••••
Ran 7 of 7 Specs in 4.231 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped PASS
ok github.com/hashicorp/nomad/e2e/rescheduling 4.239s