575a56062f
newMockSnapshotHandler has an assertion on t.Cleanup which gets called before the event publisher is cancelled. This commit reorders the context.WithCancel so it properly gets cancelled before the assertion is made. |
||
---|---|---|
.. | ||
health_snapshot.go | ||
health_snapshot_test.go | ||
mock_ACLResolver.go | ||
replication.go | ||
server.go | ||
server_test.go | ||
stream_resources.go | ||
stream_test.go | ||
stream_tracker.go | ||
stream_tracker_test.go | ||
subscription_blocking.go | ||
subscription_manager.go | ||
subscription_manager_test.go | ||
subscription_state.go | ||
subscription_state_test.go | ||
subscription_view.go | ||
subscription_view_test.go | ||
testing.go |