Skip to content

Commit

Permalink
[streams] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Iван committed Dec 23, 2023
1 parent 5b8548f commit d1354c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void blockingXREADforStreamThatRanDry(Jedis jedis) throws ExecutionException, In
void xaddWithDelShouldNotAwakeClient(Jedis jedis) throws ExecutionException, InterruptedException {
Future<?> future = blockingThread.submit(() -> {
List<Map.Entry<String, List<StreamEntry>>> data = blockedClient.xread(
XReadParams.xReadParams().block(10000),
XReadParams.xReadParams().block(20000),
ImmutableMap.of("s", StreamEntryID.LAST_ENTRY)
);

Expand Down Expand Up @@ -118,7 +118,7 @@ void xaddWithDelShouldNotAwakeClient(Jedis jedis) throws ExecutionException, Int
void xaddWithDelAndLpushShouldNotAwakeClient(Jedis jedis) throws ExecutionException, InterruptedException {
Future<?> future = blockingThread.submit(() -> {
List<Map.Entry<String, List<StreamEntry>>> data = blockedClient.xread(
XReadParams.xReadParams().block(10000),
XReadParams.xReadParams().block(20000),
ImmutableMap.of("s", StreamEntryID.LAST_ENTRY)
);

Expand Down

0 comments on commit d1354c3

Please sign in to comment.