Commit Graph

88 Commits

Author SHA1 Message Date
Michael Schurter
fb12451ecf e2e: test task events for a failed sibling task 2019-01-08 14:39:37 -08:00
Michael Schurter
c9dc5e4999 e2e: wait for at least N nodes to be ready
Before it was *exactly* N nodes which limited test portability between
clusters.
2019-01-08 14:39:37 -08:00
Michael Schurter
6c01ae4ae2 e2e: add task events tests 2019-01-08 07:20:53 -08:00
Danielle Tomlinson
646e077d32 e2e: Add consultemplate test
This adds a basic test for consul template, that verifies the behaviour
of consul-template with task blocking and restarting of tasks
2019-01-07 17:53:55 +01:00
Danielle Tomlinson
ad51e6cb24 Merge pull request #5149 from hashicorp/dani/e2e-friendly
e2e: Output setup instructions after terraform
2019-01-04 22:14:03 +01:00
Danielle Tomlinson
b51021ac28 e2e: Output setup instructions after terraform
This adds a message that provides environment setup instructions for
running e2e tests after running terraform apply.

This allows copy/pasting exports, rather than manually constructing
them.
2019-01-04 16:55:14 +01:00
Mahmood Ali
bce7c9372d goimport file 2019-01-04 08:53:50 -05:00
Preetha Appan
21810d0edd Added waiting on client node ready state before running e2e tests 2019-01-03 16:16:20 -06:00
Preetha
9a514aabd3 Update README.md 2019-01-03 16:15:59 -06:00
Preetha
38929049f4 Update README.md 2019-01-03 15:31:19 -06:00
Preetha Appan
36b5435ed3 Increase alloc wait timeout in e2e test 2019-01-03 14:02:02 -06:00
Preetha
70d7a63deb Update e2e readme 2019-01-03 13:24:58 -06:00
Preetha
4d6bf2a68b Update README.md 2019-01-03 13:19:04 -06:00
Preetha
136e690d3e Update README.md 2019-01-03 12:12:43 -06:00
Preetha Appan
1cfef83302 Increase timeout in e2e test 2019-01-03 11:22:21 -06:00
Danielle Tomlinson
002f19085a e2e: goimports e2eutil/utils.go 2019-01-03 13:31:49 +01:00
Preetha Appan
4064748215 Clean up map update code 2018-12-20 15:12:48 -06:00
Preetha Appan
7ad040166d new e2e test for spread, and refactor affinity tests to share util methods 2018-12-19 21:25:32 -06:00
Preetha Appan
e514d0a617 Fix spread e2e test 2018-12-19 17:11:26 -06:00
Preetha Appan
69988ba8dc Initial e2e tests for spread 2018-12-19 17:11:26 -06:00
Preetha Appan
4453602c24 Make affinity e2e tests wait for leader through Before method 2018-12-19 09:56:44 -06:00
Preetha Appan
f86c6976ed minor refactoring of affinities tests 2018-12-19 09:05:01 -06:00
Preetha Appan
d10b9b79a2 Affinities e2e tests 2018-12-18 18:39:45 -06:00
Preetha
08ffb0b15f Merge pull request #5012 from hashicorp/f-e2e-provisioning
Terraform configs for e2e tests
2018-12-18 13:45:58 -06:00
Preetha Appan
75294a781a added readme 2018-12-18 13:37:03 -06:00
Preetha Appan
82f95b2e0c suggestions from code review 2018-12-17 15:06:22 -06:00
Jack Pearkes
dca95c2e57 Terraform configs for e2e tests 2018-12-17 11:40:09 -06:00
Alex Dadgar
aa59ea6ac7 fix iops bug and increase test matrix coverage 2018-12-11 15:28:21 -08:00
Alex Dadgar
088f51a330 skip e2e/vault if integration isn't set 2018-09-25 11:29:09 -07:00
Alex Dadgar
668a90102f proper variable capture 2018-09-24 16:34:15 -07:00
Alex Dadgar
7acb3ca2ee vet 2018-09-19 10:18:10 -07:00
Alex Dadgar
0ee63c43ea add a vault test matrix 2018-09-19 10:18:10 -07:00
Alex Dadgar
aadb09aa16 fix panic 2018-09-18 13:02:03 -07:00
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