cadonna commented on a change in pull request #8914:
URL: https://github.com/apache/kafka/pull/8914#discussion_r445512013



##########
File path: tests/kafkatest/services/streams.py
##########
@@ -215,8 +216,10 @@ 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]
+        except Exception, exception:
+            self.logger.debug(str(exception))

Review comment:
       We just log the exception on debug level. I do not know how much this 
will help, but it is better than nothing. 




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