Commit Graph

95 Commits (5143218ae15423e6926d0b4e872f613233d2360e)

Author SHA1 Message Date
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
James Phillips 1791d99a10 Adds new config to make script checks opt-in, updates documentation. (#3284)
7 years ago
Frank Schroeder cd0b0b35c9 api: do not block in waitForLeader since the retry loop is handling this
7 years ago
James Phillips ebe032a75c Adds a temporary band-aid to the API tests.
7 years ago
Frank Schroeder 3aa752e998 retry: relax timing for test a bit
7 years ago
Frank Schroeder 1d5b56eec1
test: shutdown server properly
8 years ago
Frank Schroeder eded493206
test: sanitize temp dir names since subtest names have slashes
8 years ago
Frank Schroeder 4edd1dcba2 test: fix go vet issue
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
James Phillips 33a7b8e401
Tweaks some tests that were having a hard time in Travis CI and
8 years ago
Frank Schroeder 7732347172
test: simplify tests that check for peers
8 years ago
Frank Schroeder c3d6814149
test: Drop WaitForResult from testutil and testrpc
8 years ago
James Phillips ddfa57765c
retry: Removes the description parameter.
8 years ago
Frank Schroeder eb6465551b
retry: add retry package for retriable tests
8 years ago
Ethan Chu 90fe8b3418
Add `AddAccessibleService` to testutil
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Frank Schroeder 80c990b449 test: Retry more aggressively
8 years ago
Frank Schroeder 3403cd4372 golint: Fix existing comments
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
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
James Phillips 4e7064023f
Makes WaitForResult always return an error if it times out.
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
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