mjsax commented on code in PR #18835:
URL: https://github.com/apache/kafka/pull/18835#discussion_r1960802819


##########
tests/kafkatest/tests/streams/streams_smoke_test.py:
##########
@@ -109,5 +109,7 @@ def test_streams(self, processing_guarantee, crash, 
metadata_quorum):
 
         if crash and processing_guarantee == 'at_least_once':
             self.driver.node.account.ssh("grep -E 
'SUCCESS|PROCESSED-MORE-THAN-GENERATED' %s" % self.driver.STDOUT_FILE, 
allow_fail=False)
+            # fail if we find "missing result data" output in the stdout file; 
while we can tolerate duplication, we cannot tolerate data loss
+            self.driver.node.account.ssh("[ ! `grep 'missing result data'" % 
self.driver.STDOUT_FILE % "` ]", allow_fail=False)
         else:
             self.driver.node.account.ssh("grep SUCCESS %s" % 
self.driver.STDOUT_FILE, allow_fail=False)

Review Comment:
   Updates the PR. I think we can just grep for SUCCESS now, given the new 
logic in the Java code.



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