Commit Graph

60 Commits (ebe032a75c7e7c22aa1a0d7e466ad2f419296bdd)

Author SHA1 Message Date
James Phillips ebe032a75c Adds a temporary band-aid to the API tests.
8 years ago
Frank Schroeder 1d5b56eec1
test: shutdown server properly
8 years ago
Frank Schroeder f44c4e769b test: bump ReadyTimeout to 10s
8 years ago
Frank Schroeder 65b5c51ec7 test: add helper for ioutil.TempDir/TempFile
8 years ago
Frank Schroeder 3522a41bad test: include test name in temp file/dir
8 years ago
Cyril Gaudin 417ffb8893 test: Make testserver start timeout configurable.
8 years ago
Frank Schroeder c3d6814149
test: Drop WaitForResult from testutil and testrpc
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
James Phillips 59a599a14b
Cleans up a stray mark and fixes unit tests.
8 years ago
James Phillips 4d3f3ea8d2
Changes verson 8 ACLs to opt-out.
8 years ago
James Phillips 15e7247131
Fixes test server startup returning wrong error.
8 years ago
Seth Vargo 1dc1f72fb6
Add RPC
8 years ago
Seth Vargo 3d830b3676
Reduce coupling with testing.T
8 years ago
Kyle Havlovitz 9b4497de09
Cleaned up and reorganized some autopilot-related code
8 years ago
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
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 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 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