Skip to content

Commit 2fcc828

Browse files
authored
[virt] fix test_restart_persistence_windows failing on ssh timeout (#5103)
##### What this PR does / why we need it: increased command exec timeout (powershell commands might take 5+ sec to exec and report status via ssh) ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Extended timeout duration for SSH command execution to improve reliability and reduce premature termination. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: vsibirsk <vsibirsk@redhat.com>
1 parent 0db895f commit 2fcc828

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utilities/virt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ def run_os_command(vm: VirtualMachineForTests, command: str) -> str | None:
27952795
return run_ssh_commands(
27962796
host=vm.ssh_exec,
27972797
commands=shlex.split(command),
2798-
timeout=5,
2798+
timeout=15,
27992799
tcp_timeout=TCP_TIMEOUT_30SEC,
28002800
)[0]
28012801
except ProxyCommandFailure:

0 commit comments

Comments
 (0)