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


##########
tests/kafkatest/tests/streams/streams_application_upgrade_test.py:
##########
@@ -163,9 +163,10 @@ def restart_all_nodes_with(self, version):
         self.processor3.stop_node(self.processor3.node)
 
         # make sure the members have stopped
-        self.wait_for_verification(self.processor1, 
"SMOKE-TEST-CLIENT-CLOSED", self.processor1.STDOUT_FILE)
-        self.wait_for_verification(self.processor2, 
"SMOKE-TEST-CLIENT-CLOSED", self.processor2.STDOUT_FILE)
-        self.wait_for_verification(self.processor3, 
"SMOKE-TEST-CLIENT-CLOSED", self.processor3.STDOUT_FILE)
+        # some older versions crash on shutdown, so we allow crashes here.
+        self.wait_for_verification(self.processor1, 
"SMOKE-TEST-CLIENT-(EXCEPTION|CLOSED)", self.processor1.STDOUT_FILE)

Review Comment:
   Should we add a version check, and apply this new verification only for the 
older version(s) which are problematic?
   
   Same below.



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to