Commit Graph

111 Commits (6d811175447fdfd61bff376316237af86eb973b1)

Author SHA1 Message Date
James Hartig 0934940f4e testutil: If testing.T is nil panic with error (#4725)
6 years ago
Matt Keeler 34b53e7099 A few misc fixes found by go vet
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Jack Pearkes 8c684db488 New command: consul debug (#4754)
6 years ago
Freddy 524192c919 Improve resilience of api pkg tests (#4676)
6 years ago
Pierre Souchay 2f76019847 Fixed message: testutil/server.go:317: missing ... in args forwarded to print-like function
6 years ago
Paul Banks 597e55e8e2 Misc test fixes
7 years ago
Paul Banks 96c416012e Misc rebase and test fixes
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
James Phillips 18335da27e
Bumps the standard retry up.
7 years ago
Frank Schroeder c94751ad43 test: replace porter tool with freeport lib
7 years ago
James Phillips ad9425ca63
Adds a canary test to fail Consul's test w/o porter.
7 years ago
Alex Dadgar c7a65b4587 Testutil falls back to random ports w/o porter (#3604)
7 years ago
Frank Schröder 1e461110e6 agent: consolidate handling of 405 Method Not Allowed (#3405)
7 years ago
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
8 years ago
James Phillips ebe032a75c Adds a temporary band-aid to the API tests.
8 years ago
Frank Schroeder 3aa752e998 retry: relax timing for test a bit
8 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