Skip to content

Commit 1a73827

Browse files
committed
Polishing
Remove console output in test.
1 parent e03bf01 commit 1a73827

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/io/lettuce/core/ScanStreamTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ public void shouldSscanIteratively() {
6969
RedisReactiveCommands<String, String> reactive = redis.getStatefulConnection().reactive();
7070

7171
AtomicInteger ai = new AtomicInteger();
72-
StepVerifier.create(ScanStream.sscan(reactive, key, ScanArgs.Builder.limit(200)).doOnNext(n -> {
73-
System.out.println(ai.incrementAndGet());
74-
}), 0).thenRequest(250).expectNextCount(250).thenCancel().verify();
72+
StepVerifier.create(ScanStream.sscan(reactive, key, ScanArgs.Builder.limit(200)), 0).thenRequest(250)
73+
.expectNextCount(250).thenCancel().verify();
7574
StepVerifier.create(ScanStream.sscan(reactive, key).count()).expectNext(1000L).verifyComplete();
7675
}
7776

0 commit comments

Comments
 (0)