guozhangwang commented on a change in pull request #8964:
URL: https://github.com/apache/kafka/pull/8964#discussion_r466082424



##########
File path: 
streams/src/test/java/org/apache/kafka/streams/tests/EosTestDriver.java
##########
@@ -390,9 +399,12 @@ private static void verifyReceivedAllRecords(final 
Map<TopicPartition, List<Cons
                 final int expectedValue = 
integerDeserializer.deserialize(expected.topic(), expected.value());
 
                 if (!receivedKey.equals(expectedKey) || receivedValue != 
expectedValue) {
-                    throw new RuntimeException("Result verification failed for 
" + receivedRecord + " expected <" + expectedKey + "," + expectedValue + "> but 
was <" + receivedKey + "," + receivedValue + ">");
+                    exception = new RuntimeException("Result verification 
failed for " + receivedRecord + " expected <" + expectedKey + "," + 
expectedValue + "> but was <" + receivedKey + "," + receivedValue + ">");
                 }
             }
+
+            if (exception != null)

Review comment:
       ack




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