Commit Graph

62 Commits (bd13913e6d15919b505cf84028c06d42ccd82ac5)

Author SHA1 Message Date
Kyle Havlovitz f389b59fd5
Fix up command and api tests
8 years ago
Jeff Mitchell 44733caf5c Update unix dial functions to use DialContext with new go-cleanhttp
8 years ago
James Phillips 14c6d009cc Drop testutil wait to 2 seconds.
8 years ago
James Phillips dcff5137f9
Adds a little wait after we get the event we were seeking.
8 years ago
James Phillips 8493d239ac
Run the waited-for function before sleeping, and ramp up the sleep exponentially.
8 years ago
James Phillips 8c33ddbee2
Drops the unit test wait time back down and turns initial wait into blocking query.
8 years ago
James Phillips 1f903547b5 Bumps the wait even more.
8 years ago
James Phillips 86368a467e Bumps the wait a little more.
8 years ago
James Phillips b4bbd2f441 Adds more time to WaitForResult.
8 years ago
Seth Vargo e3a4b2128b
Sleep for longer, but try less often
8 years ago
Seth Vargo c0b6c7ad3e
Check to see if TaggedAddresses have been populated
8 years ago
Seth Vargo 624b7daba4 Omit empty node_meta
8 years ago
Kyle Havlovitz f48f105949
Minor formatting tweaks as a follow-up to #2654
8 years ago
Seth Vargo 8bcfa9d3cc Do not skip tests when Consul is missing
8 years ago
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata
8 years ago
Seth Vargo 9010b0e0f4
Use a random port instead of idx in testutil
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Kyle Havlovitz dd3368c19e Add keyring http endpoints
8 years ago
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs.
8 years ago
Sean Chittenden b3df5d3a87
Misc comment improvements
9 years ago
Sean Chittenden a3254522fe Clean up the test example in README
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
kaskavalci 556f20b8c3 Make testutil.TestServer work correctly on Windows.
9 years ago
James Phillips 7510f00100 Merge pull request #1846 from TeaBough/master
9 years ago
Miquel Sabaté Solà 615c93a77d Used 'unconvert' to remove unneeded conversions
9 years ago
Thibault Vigouroux 44bce6797f Define a TestingT interface in server.go
9 years ago
Jeff Mitchell 1e3840b044 Update cleanhttp repo location
9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport
9 years ago
Jeff Mitchell f49fc095ef Don't use http.DefaultClient
9 years ago
Dale Wijnand 5a28ebcaa3 Fix a bunch of typos.
9 years ago
Robert Gogolok db18eb9fa2 testutil: support ACLMasterToken, ACLDatacenter and ACLDefaultPolicy
10 years ago
Seth Vargo fb879a37b5 Allow the user to control the output of the test server
10 years ago
Ryan Uber 480c189d9a testutil: key leader wait on bootstrap flag
10 years ago
Ryan Uber 04d73628d1 testutil: allow skipping leader wait, update example
10 years ago
Ryan Uber 5d69e0e123 testutil: add a readme with sample usage
10 years ago
Ryan Uber b48e4a21f6 testutil: error instead of panic
10 years ago
Ryan Uber a0e3b10a19 Change node name based on idx
10 years ago
Ryan Uber d6ce64b472 testutil: add ListKV method
10 years ago
Ryan Uber 4c42754886 testutil: disable checkpoint, fix waitForLeader
10 years ago
Ryan Uber 79029c63f2 testutil: bind to localhost address
10 years ago
Ryan Uber 1d0aea86ab testutil: helpers return responses
10 years ago
Ryan Uber 6f2dac6c30 testutil: test server supports domain sockets
10 years ago
Ryan Uber ed32eb3917 testutil: support retrieving kv pairs
10 years ago
Ryan Uber 63f05b1c56 testutil: support joining and specifying datacenters
10 years ago
Ryan Uber fa7414e276 testutil: Use HTTPAddr
10 years ago
Ryan Uber 8ea04bbb3f testutil: server comments
10 years ago
Ryan Uber c6cebc2b91 testutil: Support creating additional checks
10 years ago
Ryan Uber 313f89439e testutil: allow creation of services
10 years ago
Ryan Uber 576c49eaf0 testutil: working on helpers
10 years ago
Ryan Uber 78f9f53bf1 testutil: exposing the API address from the test server
10 years ago