consul/agent/consul/stream
Daniel Nephin 9482961b1c stream: handle empty event in TestEventSnapshot
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.
2020-07-20 18:20:02 -04:00
..
event.go stream: Improve docstrings 2020-07-14 15:57:47 -04:00
event_buffer.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
event_buffer_test.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
event_publisher.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
event_publisher_test.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
event_snapshot.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
event_snapshot_test.go stream: handle empty event in TestEventSnapshot 2020-07-20 18:20:02 -04:00
event_test.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
subscription.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00
subscription_test.go stream: Add forceClose and refactor subscription filtering 2020-07-14 15:57:47 -04:00