mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-01 07:31:20 +00:00
fix test
This commit is contained in:
parent
4257407aea
commit
17f1cb0a8d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user