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

tests : extend ssh connection timeout for test tsc_deadline disable #280

Merged
Merged
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
4 changes: 3 additions & 1 deletion tests/tests/test_guest_tsc_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def test_guest_tsc_deadline_disable(qm):
qm.qcmd.plugins['cpu'].cpu_flags += f',-tsc-deadline'
qm.run()

m = Qemu.QemuSSH(qm)
# NB : on 24.10, the VM takes a long time to boot > 75s (on 24.04, only 15sec)
# for now, extend the ssh connexion timeout but should be fixed in the future
m = Qemu.QemuSSH(qm, timeout=100)

stdout, _ = m.check_exec('lscpu')
output = stdout.read().decode('utf-8')
Expand Down