Jeff Mitchell
f49fc095ef
Don't use http.DefaultClient
...
Two of the changes are in tests; the one of consequence is in the API.
As explained in #1308 this can cause conflicts with downstream programs.
Fixes #1308 .
2015-10-15 17:49:35 -04:00
Dale Wijnand
5a28ebcaa3
Fix a bunch of typos.
2015-09-15 13:22:08 +01:00
Robert Gogolok
db18eb9fa2
testutil: support ACLMasterToken, ACLDatacenter and ACLDefaultPolicy
2015-06-11 11:25:05 +02:00
Seth Vargo
fb879a37b5
Allow the user to control the output of the test server
2015-06-08 10:16:11 -04:00
Ryan Uber
480c189d9a
testutil: key leader wait on bootstrap flag
2015-05-08 18:16:35 -07:00
Ryan Uber
04d73628d1
testutil: allow skipping leader wait, update example
2015-05-08 18:11:25 -07:00
Ryan Uber
b48e4a21f6
testutil: error instead of panic
2015-04-22 20:35:27 -07:00
Ryan Uber
a0e3b10a19
Change node name based on idx
2015-03-30 23:45:44 -07:00
Ryan Uber
d6ce64b472
testutil: add ListKV method
2015-03-23 22:47:34 -07:00
Ryan Uber
4c42754886
testutil: disable checkpoint, fix waitForLeader
2015-03-23 19:27:59 -07:00
Ryan Uber
79029c63f2
testutil: bind to localhost address
2015-03-23 18:59:45 -07:00
Ryan Uber
1d0aea86ab
testutil: helpers return responses
2015-03-21 06:45:26 -07:00
Ryan Uber
6f2dac6c30
testutil: test server supports domain sockets
2015-03-19 17:44:04 -07:00
Ryan Uber
ed32eb3917
testutil: support retrieving kv pairs
2015-03-19 17:03:07 -07:00
Ryan Uber
63f05b1c56
testutil: support joining and specifying datacenters
2015-03-19 17:03:07 -07:00
Ryan Uber
fa7414e276
testutil: Use HTTPAddr
2015-03-19 17:03:07 -07:00
Ryan Uber
8ea04bbb3f
testutil: server comments
2015-03-19 17:03:07 -07:00
Ryan Uber
c6cebc2b91
testutil: Support creating additional checks
2015-03-19 17:03:07 -07:00
Ryan Uber
313f89439e
testutil: allow creation of services
2015-03-19 17:03:06 -07:00
Ryan Uber
576c49eaf0
testutil: working on helpers
2015-03-19 17:03:06 -07:00
Ryan Uber
78f9f53bf1
testutil: exposing the API address from the test server
2015-03-19 17:03:06 -07:00
Ryan Uber
37f6301856
testutil: initial pass at moving test server harness into testutil
2015-03-19 17:03:06 -07:00