From 4f5c56d5edcbe7cb74e4ee9eb11ae3b7eb9dbbc6 Mon Sep 17 00:00:00 2001 From: Sachin P Bappalige Date: Fri, 3 May 2024 09:10:27 +0530 Subject: [PATCH] The ebizzy testcase of kdump needs cleanup and timeout set Signed-off-by: Sachin P Bappalige --- testcases/PowerNVDump.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/testcases/PowerNVDump.py b/testcases/PowerNVDump.py index 08c4df09..fec987da 100644 --- a/testcases/PowerNVDump.py +++ b/testcases/PowerNVDump.py @@ -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&")