Skip to content

Commit 9695468

Browse files
authored
Merge pull request #836 from SACHIN-BAPPALIGE/ebizzy_kdump_cleanup
The ebizzy testcase of kdump needs cleanup and timeout set
2 parents 5b949e4 + 4f5c56d commit 9695468

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

testcases/PowerNVDump.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1056,13 +1056,14 @@ def runTest(self):
10561056
cmd = "zypper install -y make gcc wget"
10571057
self.c.run_command(cmd, timeout=120)
10581058
try:
1059-
self.c.run_command("wget %s -P /tmp" % self.url)
1059+
self.c.run_command("rm -rf /tmp/ebizzy*", timeout=120)
1060+
self.c.run_command("wget %s -P /tmp" % self.url, timeout=120)
10601061
except CommandFailed:
10611062
self.fail("Failed to download ebizzy tar")
1062-
self.c.run_command("tar -xf /tmp/ebizzy*.tar.gz -C /tmp")
1063+
self.c.run_command("tar -xf /tmp/ebizzy*.tar.gz -C /tmp", timeout=120)
10631064
self.c.run_command("cd /tmp/ebizzy*/")
10641065
try:
1065-
self.c.run_command("./configure; make")
1066+
self.c.run_command("./configure; make", timeout=120)
10661067
except CommandFailed:
10671068
self.fail("Failed to compile ebizzy")
10681069
self.c.run_command("./ebizzy -S 60&")

0 commit comments

Comments
 (0)