This commit is contained in:
Anton Kaliaev 2019-02-01 15:49:42 +04:00
parent 4257407aea
commit 17f1cb0a8d
No known key found for this signature in database
GPG Key ID: 7B6881D965918214

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