This commit is contained in:
Anton Kaliaev
2019-02-01 15:49:42 +04:00
parent 4257407aea
commit 17f1cb0a8d

View File

@@ -139,7 +139,8 @@ func TestEventBusPublish(t *testing.T) {
require.NoError(t, err)
defer eventBus.Stop()
sub, err := eventBus.Subscribe(context.Background(), "test", tmquery.Empty{})
// FIXME: the test fails without a buffer
sub, err := eventBus.Subscribe(context.Background(), "test", tmquery.Empty{}, 14)
require.NoError(t, err)
const numEventsExpected = 14