open-consul/lib
Daniel Nephin ff26294d63 consul: fix data race in leader CA tests
Some global variables are patched to shorter values in these tests. But the goroutines that read
them can outlive the test because nothing waited for them to exit.

This commit adds a Wait() method to the routine manager, so that tests can wait for the goroutines
to exit. This prevents the data race because the 'reset to original value' can happen
after all other goroutines have stopped.
2021-07-14 18:58:15 -04:00
..
decode
file
mutex lib/mutex: add mutex with TryLock and update vendor 2021-01-25 18:01:47 -05:00
retry lib/retry: allow jitter to exceed max wait. 2021-04-07 18:33:11 -04:00
routine consul: fix data race in leader CA tests 2021-07-14 18:58:15 -04:00
semaphore testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
serf Add per-agent reconnect timeouts (#8781) 2020-10-08 15:02:19 -04:00
stringslice
template
ttlcache lib/ttlcache: never decrease the expiry on update 2021-04-21 15:32:26 -04:00
cluster.go
cluster_test.go
eof.go RPC Timeout/Retries account for blocking requests (#8978) 2021-05-27 17:29:43 -04:00
eof_test.go ServerError type check before EOF string comparison 2020-09-19 01:59:04 +00:00
json.go
map_walker.go
map_walker_test.go
math.go
math_test.go
path.go
rand.go
rtt.go
rtt_test.go
stop_context.go
stop_context_test.go
telemetry.go add note about deleting TelemetryConfig.MergeDefaults in the future 2020-11-16 15:53:52 -08:00
telemetry_test.go fix some tests that were broken from the TelemetryConfig change 2020-11-16 15:22:36 -08:00
testing_httpserver.go
translate.go
translate_test.go
useragent.go
useragent_test.go
uuid.go