5 Commits (58c0a3f16d51f028b1100943882389c7b4da2ff4)

Author SHA1 Message Date
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs 7 years ago
Frank Schroeder 1c75cf1af5 pkg refactor 8 years ago
Frank Schroeder c3d6814149
test: Drop WaitForResult from testutil and testrpc 8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else 8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants 8 years ago
James Phillips 4e7064023f
Makes WaitForResult always return an error if it times out. 8 years ago
Seth Vargo 3d830b3676
Reduce coupling with testing.T 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
Armon Dadgar 1b15415616 testutil: Using the correct RPC struct 11 years ago
Nelson Elhage 2080122f38 WaitForLeader: Also wait for a non-zero index. 11 years ago
Armon Dadgar 14be60aaca gofmt 11 years ago
William Tisäter 76d9fa255b Speed up test runs in `WaitForResult` 11 years ago
William Tisäter e1d111a43d Increase timeout for `WaitForResult` 11 years ago
William Tisäter 78145ecfd5 Require datacenter argument for `WaitForLeader` 11 years ago
William Tisäter c8168bd8fe Drop client arguments from `WaitForLeader` 11 years ago
William Tisäter aa00bfff7d Fix `TestCatalogListNodes_StaleRaad` with `WaitForLeader` 11 years ago
William Tisäter f1b9dbe5c3 Add `testutils.WaitForLeader` and truly wait 11 years ago
William Tisäter 028bc7e1b4 Proof of concept using `WaitForResult` in tests 11 years ago