Skip to content

Commit

Permalink
add timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
lezhnev74 committed Jan 12, 2024
1 parent f92b2f9 commit 1eed893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func TestBuildQuerySuccess(t *testing.T) {
require.False(t, r2.FirstPageReady)
require.True(t, r2.QueryComplete)

time.Sleep(20 * time.Millisecond) // flush appenders
time.Sleep(100 * time.Millisecond) // flush appenders

actualMessages, err := selector.storage.GetMessagePage(queryHash, 1000, 0, nil, nil)
require.NoError(t, err)
Expand Down

0 comments on commit 1eed893

Please sign in to comment.