Skip to content

Commit

Permalink
Merge pull request redpanda-data#13945 from vbotbuildovich/backport-p…
Browse files Browse the repository at this point in the history
…r-13920-v23.2.x-907

[v23.2.x] tests/redpanda: do not allow getting redpanda pid cmd to fail
  • Loading branch information
piyushredpanda authored Oct 5, 2023
2 parents 4c226f3 + 551ab10 commit 0f9b7fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/rptest/services/redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -2811,9 +2811,7 @@ def remove_local_data(self, node):
def redpanda_pid(self, node):
try:
cmd = "pgrep --list-full --exact redpanda"
for line in node.account.ssh_capture(cmd,
allow_fail=True,
timeout_sec=10):
for line in node.account.ssh_capture(cmd, timeout_sec=10):
# Ignore SSH commands that lookup the version of redpanda
# by running `redpanda --version` like in `self.get_version(node)`
if "--version" in line:
Expand Down

0 comments on commit 0f9b7fd

Please sign in to comment.