mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-02 05:15:44 +00:00
fix test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user