Mitchell Hashimoto
0cd15176ff
backend/consul: rebase and modify gzip test
2017-03-14 17:59:54 -07:00
Mitchell Hashimoto
1daff7a826
backend/consul: support "lock" option to disable locking
...
This adds a "lock" config (default true) to allow users to optionally
disable state locking with Consul. This is necessary if the token given
doesn't have session permission and is necessary for backwards
compatibility.
2017-03-14 17:59:10 -07:00
James Bardin
08d2b44ada
add gzip to consul backend tests
2017-03-14 15:41:00 -04:00
James Bardin
86f711f6fc
Make consul backend tests opt-in
...
This way we don't require contributers to have consul installed to run
make test.
2017-03-14 14:44:03 -04:00
James Bardin
fa7743b627
quiet the consul server during backend tests
...
Don't display logs unless using `-v`
2017-03-14 10:49:38 -04:00
James Bardin
90055c6ae2
convert the consul backend to use consul/testutil
...
Start up our own consul server for unit tests.
2017-03-13 18:25:58 -04:00
Mitchell Hashimoto
b842fd0c27
backend/consul: support named states
2017-03-01 22:58:51 -08:00