Commit graph

68 commits

Author SHA1 Message Date
Preetha Appan 9890ac7583
Make affinity e2e tests wait for leader through Before method 2018-12-19 09:56:44 -06:00
Preetha Appan 24788e9ab7
minor refactoring of affinities tests 2018-12-19 09:05:01 -06:00
Preetha Appan 29d2f8172a
Affinities e2e tests 2018-12-18 18:39:45 -06:00
Preetha 6c51232f55
Merge pull request #5012 from hashicorp/f-e2e-provisioning
Terraform configs for e2e tests
2018-12-18 13:45:58 -06:00
Preetha Appan fb8980b46d
added readme 2018-12-18 13:37:03 -06:00
Preetha Appan 1ba4674ce2
suggestions from code review 2018-12-17 15:06:22 -06:00
Jack Pearkes 844d981e77
Terraform configs for e2e tests 2018-12-17 11:40:09 -06:00
Alex Dadgar 86d9ad4397 fix iops bug and increase test matrix coverage 2018-12-11 15:28:21 -08:00
Alex Dadgar 99c386c076 skip e2e/vault if integration isn't set 2018-09-25 11:29:09 -07:00
Alex Dadgar f9c60c91d8 proper variable capture 2018-09-24 16:34:15 -07:00
Alex Dadgar 69cd345778 vet 2018-09-19 10:18:10 -07:00
Alex Dadgar e546215046 add a vault test matrix 2018-09-19 10:18:10 -07:00
Alex Dadgar 78c8276bc7 fix panic 2018-09-18 13:02:03 -07:00
Nick Ethier fff5ae622b
e2e/cli: comment fixups 2018-08-02 13:29:12 -04:00
Nick Ethier 2d31a59bfd
e2e/cli: add -run option to mimic go test 2018-07-31 15:21:47 -04:00
Nick Ethier 44652f455f
e2e/cli: add run command usage docs 2018-07-31 13:52:25 -04:00
Nick Ethier 69220df24a
e2e/cli: code review comments, restructing and cleanup 2018-07-31 13:52:25 -04:00
Nick Ethier 01dd1f5d65
e2e/cli: fix formatting 2018-07-31 13:52:25 -04:00
Nick Ethier 77018c6774
e2e/cli: port logging to use hclog 2018-07-31 13:51:30 -04:00
Nick Ethier 8abf4f9e25
e2e/cli: implemented run logic 2018-07-31 13:51:30 -04:00
Nick Ethier d44f5cbf4e
e2e/cli: use discover utility for nomad binary 2018-07-31 13:51:30 -04:00
Nick Ethier 33bb3d6a84
e2e/cli: initial cli implementation for nomad-e2e 2018-07-31 13:51:27 -04:00
Nick Ethier 6f55638d70
e2e/framework: fix linting 2018-07-31 13:03:52 -04:00
Nick Ethier 72d15da314
e2e: skip e2e tests during normal go test runs 2018-07-31 12:42:36 -04:00
Nick Ethier 2ad19e05f4
e2e/framework: code review fixes 2018-07-24 12:33:30 -04:00
Nick Ethier f9aadb5e52
e2e/framework: add framework.F context 2018-07-11 13:19:14 -04:00
Nick Ethier a333edca7c
e2e/framework: move *testing.T access to a context *framework.F which is scoped to each test 2018-07-11 13:12:23 -04:00
Nick Ethier c0ad8b5c69
e2e/framework: strip flag prefix and use testify/require for embedded assertions 2018-07-11 13:12:23 -04:00
Nick Ethier 03d1ec963c
e2e/framework: don't require NOMAD_ADDR and instead rely on defaults 2018-07-11 13:12:23 -04:00
Nick Ethier 8ece36a6bd
e2e/framework: remove 'step' naming and wording 2018-07-11 13:12:23 -04:00
Nick Ethier ac61ca7fd0
e2e/framework: add missing errorf var 2018-07-11 13:12:23 -04:00
Nick Ethier c3e3919637
e2e/framework: cleanup provisioner and more docs 2018-07-11 13:12:23 -04:00
Nick Ethier 5d4caa5698
e2e/framework: additional documentation 2018-07-11 13:12:23 -04:00
Nick Ethier 18b5c767e2
e2e/framework: add consul and vault client detection 2018-07-11 13:12:23 -04:00
Nick Ethier 026e86ecb9
e2e/framework: add minimal godocs 2018-07-11 13:12:23 -04:00
Nick Ethier 0f15bab3ba
e2e/framework: initial e2e framework implementation 2018-07-11 13:12:23 -04:00
Preetha Appan 27308b7c5e
Add more end to end tests for progress deadline and fix flaky test 2018-06-05 17:25:28 -05:00
Preetha Appan 6c09379bd7
Update end to end tests to use shorter progress deadlines 2018-05-07 14:55:01 -05:00
Preetha Appan b2e89d69d8
More e2e test fixes after changes to rescheduling during deployments 2018-05-07 14:55:01 -05:00
Preetha Appan 02567ade71
Some test fixes to e2e rescheduling tests 2018-05-07 14:55:01 -05:00
Michael Schurter 50e04c976e
consul: support canary tags for services
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.
2018-05-07 14:55:01 -05:00
Michael Schurter d687761ebf rkt: test Stats() and always run tests
Remove the NOMAD_TEST_RKT flag as a guard for rkt tests. Still require
Linux, root, and rkt to be installed. Only check for rkt installation
once in hopes of speeding up rkt tests a bit.
2018-04-24 11:05:42 -07:00
Preetha Appan 94a9cf6a19
Another e2e rescheduling test case 2018-03-29 20:48:55 -05:00
Preetha Appan c9ab0bcbf8
more e2e rescheduling tests 2018-03-29 19:04:18 -05:00
Preetha Appan 49f951443c
remove unused 2018-03-29 14:42:21 -05:00
Preetha Appan ef3a43e8a8
More e2e tests 2018-03-29 11:35:45 -05:00
Preetha Appan 465ac8f90d
Update rescheduling job specs in integration test 2018-03-29 07:42:10 -05:00
Preetha Appan 4d5ce3e8d4
Fix linting 2018-03-19 18:10:58 -05:00
Preetha Appan 33a5a72323
Make suggested interval round to seconds, and more end to end test cases 2018-03-19 14:56:52 -05:00
Preetha Appan 9fb885bd16
Small tweaks to rescheduling e2e tests 2018-03-17 09:56:10 -05:00