Skip to content

Commit ad0dcd8

Browse files
authoredAug 30, 2024
Merge pull request #862 from SACHIN-BAPPALIGE/fix-makedumpfile-timeout
Add timeout value for console based run commands in kdump tests
2 parents e197972 + 6f2da17 commit ad0dcd8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎common/OpTestUtil.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ def handle_password(self, term_obj, pty, command):
18071807
raise CommandFailed(command, ''.join(failure_list_output), -1)
18081808
return list_output, echo_rc
18091809

1810-
def run_command(self, term_obj, command, timeout=60, retry=0):
1810+
def run_command(self, term_obj, command, timeout=600, retry=5):
18111811
# retry=0 will perform one pass
18121812
counter = 0
18131813
while counter <= retry:

‎testcases/PowerNVDump.py

-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,6 @@ def runTest(self):
11441144
self.cv_SYSTEM.goto_state(OpSystemState.OS)
11451145
self.setup_test()
11461146
log.info("=============== Testing kdump/fadump with xive=off ===============")
1147-
self.cv_SYSTEM.goto_state(OpSystemState.OS)
11481147
obj = OpTestInstallUtil.InstallUtil()
11491148
if not obj.update_kernel_cmdline(self.distro, args="xive=off",
11501149
reboot=True, reboot_cmd=True):

0 commit comments

Comments
 (0)
Please sign in to comment.