mirror of https://github.com/status-im/consul.git
5fa0dea63a
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. |
||
---|---|---|
.. | ||
handler.go | ||
materializer.go | ||
store.go | ||
store_test.go | ||
streaming_test.go |