mjsax commented on a change in pull request #8565:
URL: https://github.com/apache/kafka/pull/8565#discussion_r418679194


##########
File path: 
streams/src/test/java/org/apache/kafka/streams/integration/QueryableStateIntegrationTest.java
##########
@@ -631,7 +631,11 @@ public void shouldAllowConcurrentAccesses() throws 
Exception {
         final String storeName = "word-count-store";
         final String windowStoreName = "windowed-word-count-store";
 
-        final ProducerRunnable producerRunnable = new 
ProducerRunnable(streamConcurrent, inputValues, numIterations);
+        // send one round of records first to populate the stores
+        ProducerRunnable producerRunnable = new ProducerRunnable(streamThree, 
inputValues, 1);
+        producerRunnable.run();
+
+        producerRunnable = new ProducerRunnable(streamConcurrent, inputValues, 
numIterations);

Review comment:
       Should this be `numIterations - 1`




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to