cadonna commented on a change in pull request #8914: URL: https://github.com/apache/kafka/pull/8914#discussion_r445510575
########## File path: tests/kafkatest/services/streams.py ########## @@ -215,8 +216,11 @@ def node(self): def pids(self, node): try: - return [pid for pid in node.account.ssh_capture("cat " + self.PID_FILE, callback=int)] - except: + pids = [pid for pid in node.account.ssh_capture("cat " + self.PID_FILE, callback=str)] + return [int(pid) for pid in pids] Review comment: I need to do this because otherwise the callback `int` will throw an exception when an error occured in `ssh_capture()` that returned an error message. ---------------------------------------------------------------- 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