Commit Graph

76 Commits (aa1519c9f716f1e1075cfd95de88206fa759fcab)

Author SHA1 Message Date
Frank Schroeder ceda18366f
test: Use Bool() instead of &BoolTrue/False since
8 years ago
Frank Schroeder f498f24032
test: allow tests to control anti-entropy syncs
8 years ago
Frank Schroeder 141efd9588
test: rename *Config vars to 'cfg'
8 years ago
Frank Schroeder 308f9929b3
test: run agent tests in parallel
8 years ago
Frank Schroeder 23a6ff383c
agent: refactor tests for TestAgent
8 years ago
Frank Schroeder 2794db5aac
test: Fix badly formatted retry.Run tests
8 years ago
James Phillips ddfa57765c
retry: Removes the description parameter.
8 years ago
Frank Schroeder 21a82a0a16
test: Refactor WaitForResult tests with retry
8 years ago
Frank Schroeder 9685bdcd0b api: Add ServiceTags to Health state endpoint (#153)
8 years ago
Frank Schroeder 48fa2962eb Revert "test: Run command/agent tests in parallel"
8 years ago
Frank Schroeder 17be40a733 test: Run command/agent tests in parallel
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
James Phillips 7ce7d157da
Fixes up some broken unit tests.
8 years ago
James Phillips 8940d1c3fe
Keeps the service and check tokens around for deregistration.
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
James Phillips 6ca0173907
Adds catalog support for node IDs.
8 years ago
Kyle Havlovitz e44bcb9716
Add tests for node metadata functionality
8 years ago
Kyle Havlovitz b1760b223e Improve logging when deregistering a nonexistent service (#2492)
8 years ago
Kyle Havlovitz dce6702268 More flaky unit test fixes (#2449)
8 years ago
Kyle Havlovitz e2d9114b34 Agent anti-entropy test fixes
8 years ago
James Phillips c780149b5d
Calls remove on checks and services in the local test.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
James Phillips 244174d2c0 Uses the HealthCheck Clone() method in local_test.go.
9 years ago
James Phillips cfe0651208 Syncs a check's output with the catalog when output rate limiting isn't in effect.
9 years ago
James Phillips 524aaae9b7 Increases wait to account for random stagger.
9 years ago
James Phillips 4be2ab1a75 Moves tagged wan address to be managed by anti-entropy, not serf.
9 years ago
James Phillips b59599742d Adds a test to make sure the local sync doesn't clobber tagged addresses.
9 years ago
James Phillips ecd3a1d1d2 Completes rebase of network coordinates to new memdb.
9 years ago
James Phillips e21b450f69 Runs go fmt after latest rebase.
9 years ago
James Phillips ad65d953f6 Scales coordinate sends to hit a fixed aggregate rate across the cluster.
9 years ago
James Phillips 5f754c4a87 Does some small cleanups based on PR feedback.
9 years ago
James Phillips 7e6d52109b Hardens Consul from bad coordinates from other nodes.
9 years ago
James Phillips d12aa2ffab Moves batching down into the state store and changes it to fail-fast.
9 years ago
James Phillips 92567841d6 Removes one more WAN leftover.
9 years ago
James Phillips 86b112fe31 Does a clean up pass on the Consul side.
9 years ago
Derek Chiang f144d17b1c Address comments
9 years ago
Derek Chiang ab9262c656 Add a test case
9 years ago
James Phillips 0c90bdc61a Knocks out the Raft indexes before doing compare.
9 years ago
James Phillips 0b05dbeb21 Merge pull request #1235 from wuub/master
9 years ago
Wojciech Bederski c4537ed26f panic when unbalanced localState.Resume() is detected
9 years ago
Wojciech Bederski 24bc17eaa1 failing test showing that nested Pause()/Resume() release too early
9 years ago
Shawn Cook 66fd8fb2a0 Rename EnableTagOverride and update formatting
9 years ago
Shawn Cook 35f276f25d Add test cases TestAgentAntiEntropy_EnableTagDrift
9 years ago
Ryan Uber f5f7e401d5 agent: fix failing test
10 years ago
Ryan Uber 739d1fdf03 Merge pull request #891 from hashicorp/f-token
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 35f5a65fb7 agent: more tests
10 years ago
Ryan Uber 663a86f9b9 agent: backwards compat for persisted services from pre-0.5.1
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
artushin 8decf5d394 adding check_update_stagger
10 years ago