Browse Source

fix test

pull/3227/head
Anton Kaliaev 6 years ago
parent
commit
17f1cb0a8d
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      types/event_bus_test.go

+ 2
- 1
types/event_bus_test.go View File

@ -139,7 +139,8 @@ func TestEventBusPublish(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
defer eventBus.Stop() 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) require.NoError(t, err)
const numEventsExpected = 14 const numEventsExpected = 14


Loading…
Cancel
Save