Commit Graph

16 Commits

Author SHA1 Message Date
Alex Dadgar
0ee63c43ea add a vault test matrix 2018-09-19 10:18:10 -07:00
Alex Dadgar
8accabcd87 move to consul freeport implementation 2017-10-23 16:51:40 -07:00
Alex Dadgar
e1b1465081 Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
Michael Schurter
04b8f8e7fc Remove structs import from api
Goes a step further and removes structs import from api's tests as well
by moving GenerateUUID to its own package.
2017-09-29 10:36:08 -07:00
Alex Dadgar
9415ef5b47 Use LookupPath to add the exe extension 2017-07-25 17:42:36 -07:00
Alex Dadgar
8c9234e319 Make test Vault pick random ports 2017-07-25 17:40:59 -07:00
Michael Schurter
55bd0c8df7 Use go-testing-interface instead of testing
This drops the testings stdlib pkg from our dependencies. Saves a
whopping 46kb on our binary (was really hoping for more of a win there),
but also avoids potential ugliness with how testing sets flags.
2017-07-25 15:35:19 -07:00
Alex Dadgar
08c2ba9bc6 Parallel client tests (#2890)
* alloc_runner

* Random tests

* parallel task_runner and no exec compatible check

* Parallel client

* Fail fast and use random ports

* Fix docker port mapping

* Make concurrent pull less timing dependant

* up parallel

* Fixes

* don't build chroots in parallel on travis

* Reduce parallelism on travis with lxc/rkt

* make java test app not run forever

* drop parallelism a little

* use docker ports that are out of the os's ephemeral port range

* Limit even more on travis

* rkt deadline
2017-07-22 19:04:36 -07:00
Alex Dadgar
d72e86cbe3 Use a lock to increment the vault port 2017-05-16 13:25:07 -04:00
Alex Dadgar
67175cc47c vault testutil changes bin name based on OS 2017-04-04 15:14:35 -07:00
Alex Dadgar
8099478f2f Cleanup and skip test 2017-01-27 15:06:01 -08:00
Alex Dadgar
9ff2bf0bff Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Alex Dadgar
f7d74b6fe4 Use tomb to shutdown
Token revocation

Remove from the statestore

Revoke tokens

Don't error when Vault is disabled as this could cause issue if the operator ever goes from enabled to disabled

update server interface to allow enable/disable and config loading

test the new functions

Leader revoke

Use active
2016-08-28 14:06:25 -07:00
Alex Dadgar
4c8dcca59a fixes 2016-08-19 20:02:32 -07:00
Alex Dadgar
828fc8b022 test renewal 2016-08-17 16:25:38 -07:00
Alex Dadgar
418339dddd Token renewal and beginning of tests 2016-08-17 16:25:38 -07:00