mirror of https://github.com/status-im/consul.git
9482961b1c
When the race detector is enabled we see this test fail occasionally. The reordering of execution seems to make it possible for the snapshot splice to happen before any events are published to the topicBuffers. We can handle this case in the test the same way it is handled by a subscription, by proceeding to the next event. |
||
---|---|---|
.. | ||
event.go | ||
event_buffer.go | ||
event_buffer_test.go | ||
event_publisher.go | ||
event_publisher_test.go | ||
event_snapshot.go | ||
event_snapshot_test.go | ||
event_test.go | ||
subscription.go | ||
subscription_test.go |