consul/agent/submatview
Daniel Nephin 5fa0dea63a rpcclient/health: fix data race in a test
The idleTTL was being written and read concurrently. Instead move the idleTTL to a struct
field so that when one test patches the TTL it does not impact others.

The background goroutines for the store can outlive a test because context cancellation
is async.
2021-04-27 19:03:17 -04:00
..
handler.go submatview: remove method receiver from handlers 2020-10-06 13:22:02 -04:00
materializer.go submatview: more test cases for Store.Get 2021-04-27 19:03:16 -04:00
store.go rpcclient/health: fix data race in a test 2021-04-27 19:03:17 -04:00
store_test.go rpcclient/health: fix data race in a test 2021-04-27 19:03:17 -04:00
streaming_test.go submatview: setup testing structure 2021-04-27 19:03:16 -04:00