Skip to content

Commit

Permalink
Merge pull request open-power#836 from SACHIN-BAPPALIGE/ebizzy_kdump_…
Browse files Browse the repository at this point in the history
…cleanup

The ebizzy testcase of kdump needs cleanup and timeout set
  • Loading branch information
abdhaleegit authored May 6, 2024
2 parents 5b949e4 + 4f5c56d commit 9695468
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions testcases/PowerNVDump.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,13 +1056,14 @@ def runTest(self):
cmd = "zypper install -y make gcc wget"
self.c.run_command(cmd, timeout=120)
try:
self.c.run_command("wget %s -P /tmp" % self.url)
self.c.run_command("rm -rf /tmp/ebizzy*", timeout=120)
self.c.run_command("wget %s -P /tmp" % self.url, timeout=120)
except CommandFailed:
self.fail("Failed to download ebizzy tar")
self.c.run_command("tar -xf /tmp/ebizzy*.tar.gz -C /tmp")
self.c.run_command("tar -xf /tmp/ebizzy*.tar.gz -C /tmp", timeout=120)
self.c.run_command("cd /tmp/ebizzy*/")
try:
self.c.run_command("./configure; make")
self.c.run_command("./configure; make", timeout=120)
except CommandFailed:
self.fail("Failed to compile ebizzy")
self.c.run_command("./ebizzy -S 60&")
Expand Down

0 comments on commit 9695468

Please sign in to comment.