mosche commented on a change in pull request #15858:
URL: https://github.com/apache/beam/pull/15858#discussion_r768050109



##########
File path: 
sdks/java/io/redis/src/test/java/org/apache/beam/sdk/io/redis/RedisIOTest.java
##########
@@ -250,6 +263,72 @@ public void testWriteUsingDECRBY() {
     assertEquals(-1, count);
   }
 
+  @Test
+  public void testWriteStreams() {
+
+    /* test data is 10 keys (stream IDs), each with two entries, each entry 
having one k/v pair of data */
+    List<String> redisKeys =
+        IntStream.range(0, 9).boxed().map(idx -> 
UUID.randomUUID().toString()).collect(toList());

Review comment:
       Just fyi, start is inclusive here but end is exclusive 🤷‍♂️ not a very 
consistent api... 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to