Commit Graph

55 Commits

Author SHA1 Message Date
Nick Ethier
a50f2c86aa e2e/cli: comment fixups 2018-08-02 13:29:12 -04:00
Nick Ethier
a8c59d9fc6 e2e/cli: add -run option to mimic go test 2018-07-31 15:21:47 -04:00
Nick Ethier
7a139d077a e2e/cli: add run command usage docs 2018-07-31 13:52:25 -04:00
Nick Ethier
0691fa0ccc e2e/cli: code review comments, restructing and cleanup 2018-07-31 13:52:25 -04:00
Nick Ethier
580c4c29ff e2e/cli: fix formatting 2018-07-31 13:52:25 -04:00
Nick Ethier
ca868b9539 e2e/cli: port logging to use hclog 2018-07-31 13:51:30 -04:00
Nick Ethier
a1f697db4e e2e/cli: implemented run logic 2018-07-31 13:51:30 -04:00
Nick Ethier
e2040ae19d e2e/cli: use discover utility for nomad binary 2018-07-31 13:51:30 -04:00
Nick Ethier
4d13177dbe e2e/cli: initial cli implementation for nomad-e2e 2018-07-31 13:51:27 -04:00
Nick Ethier
ea0e32a177 e2e/framework: fix linting 2018-07-31 13:03:52 -04:00
Nick Ethier
d31cfb08ba e2e: skip e2e tests during normal go test runs 2018-07-31 12:42:36 -04:00
Nick Ethier
134a0c41cd e2e/framework: code review fixes 2018-07-24 12:33:30 -04:00
Nick Ethier
165baa4ee1 e2e/framework: add framework.F context 2018-07-11 13:19:14 -04:00
Nick Ethier
7fcd9e23b1 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
7c9ba61ae7 e2e/framework: strip flag prefix and use testify/require for embedded assertions 2018-07-11 13:12:23 -04:00
Nick Ethier
2f9d663bba e2e/framework: don't require NOMAD_ADDR and instead rely on defaults 2018-07-11 13:12:23 -04:00
Nick Ethier
4fba59748f e2e/framework: remove 'step' naming and wording 2018-07-11 13:12:23 -04:00
Nick Ethier
4b0010b74a e2e/framework: add missing errorf var 2018-07-11 13:12:23 -04:00
Nick Ethier
8353c54169 e2e/framework: cleanup provisioner and more docs 2018-07-11 13:12:23 -04:00
Nick Ethier
a30a5519f3 e2e/framework: additional documentation 2018-07-11 13:12:23 -04:00
Nick Ethier
7c224cf766 e2e/framework: add consul and vault client detection 2018-07-11 13:12:23 -04:00
Nick Ethier
cb9e1e14a4 e2e/framework: add minimal godocs 2018-07-11 13:12:23 -04:00
Nick Ethier
8be5b65324 e2e/framework: initial e2e framework implementation 2018-07-11 13:12:23 -04:00
Preetha Appan
e8162d076f Add more end to end tests for progress deadline and fix flaky test 2018-06-05 17:25:28 -05:00
Preetha Appan
ceafb2b354 Update end to end tests to use shorter progress deadlines 2018-05-07 14:55:01 -05:00
Preetha Appan
801d147e83 More e2e test fixes after changes to rescheduling during deployments 2018-05-07 14:55:01 -05:00
Preetha Appan
83ad99c436 Some test fixes to e2e rescheduling tests 2018-05-07 14:55:01 -05:00
Michael Schurter
17c6eb8629 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
a3dba1db78 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
97d39b158f Another e2e rescheduling test case 2018-03-29 20:48:55 -05:00
Preetha Appan
9a5b63c1c4 more e2e rescheduling tests 2018-03-29 19:04:18 -05:00
Preetha Appan
3809c53a2b remove unused 2018-03-29 14:42:21 -05:00
Preetha Appan
db2bdb4410 More e2e tests 2018-03-29 11:35:45 -05:00
Preetha Appan
f62f3d8176 Update rescheduling job specs in integration test 2018-03-29 07:42:10 -05:00
Preetha Appan
f4f178b46c Fix linting 2018-03-19 18:10:58 -05:00
Preetha Appan
52d1a9c41a Make suggested interval round to seconds, and more end to end test cases 2018-03-19 14:56:52 -05:00
Preetha Appan
5e7082bd84 Small tweaks to rescheduling e2e tests 2018-03-17 09:56:10 -05:00
Preetha Appan
3fcf44edbf Add README and other review feedback 2018-03-09 16:24:59 -06:00
Preetha Appan
4d45aea019 Initial commit of end to end tests integration tests for rescheduling using ginkgo 2018-03-09 16:24:50 -06:00
Chelsea Holland Komlo
a5d1adba73 remove unnecessary test output print 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
797cd635c8 reuse client configuration for both acl and non-acl test 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
68e15a33d4 run e2e tests from e2e/migrations folder 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
d75db03585 run acl migration test only with integration flag 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
7b918c4e8b refactor for clarity 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
d820063f09 Add E2E test for migrations with acls 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
c6ef3d3d93 add assertion for pending 2017-10-26 13:14:58 -04:00
Chelsea Holland Komlo
3d85928a04 feedback from code review, improve run script 2017-10-25 17:50:47 -04:00
Chelsea Holland Komlo
f4e466f54b exclude integration tests from main build 2017-10-25 15:59:02 -04:00
Chelsea Holland Komlo
aa410d0530 fixing up code review feedback 2017-10-24 21:38:15 -04:00
Chelsea Holland Komlo
d61ab4a573 use testutil helper function 2017-10-24 20:56:19 -04:00