muralibasani commented on code in PR #23537:
URL: https://github.com/apache/kafka/pull/23537#discussion_r4097756872
##########
tests/kafkatest/services/kafka/kafka.py:
##########
@@ -972,6 +972,9 @@ def run_features_command(self, op, feature, new_version):
def pids(self, node):
"""Return process ids associated with running processes on the given
node."""
try:
+ kafka_mode = self.context.globals.get("kafka_mode", "")
+ if kafka_mode == "native":
+ return [int(pid) for pid in node.account.ssh_capture(f"pgrep
{self.java_class_name()}", allow_fail=True)]
Review Comment:
Do we have any processes running in native mode to test/verify this, now
that pgrep is being used to find the pid ?
--
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]