Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout value for console based run commands in kdump tests #862

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/OpTestUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ def handle_password(self, term_obj, pty, command):
raise CommandFailed(command, ''.join(failure_list_output), -1)
return list_output, echo_rc

def run_command(self, term_obj, command, timeout=60, retry=0):
def run_command(self, term_obj, command, timeout=600, retry=5):
# retry=0 will perform one pass
counter = 0
while counter <= retry:
Expand Down
1 change: 0 additions & 1 deletion testcases/PowerNVDump.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,6 @@ def runTest(self):
self.cv_SYSTEM.goto_state(OpSystemState.OS)
self.setup_test()
log.info("=============== Testing kdump/fadump with xive=off ===============")
self.cv_SYSTEM.goto_state(OpSystemState.OS)
obj = OpTestInstallUtil.InstallUtil()
if not obj.update_kernel_cmdline(self.distro, args="xive=off",
reboot=True, reboot_cmd=True):
Expand Down