Skip to content

Commit d7d6f07

Browse files
committed
fix: Fix rare failure in pause resume test
Test with 1 vCPU when running the KVMCLOCK_CTRL tests so we don't error on bug with clock. Signed-off-by: Jack Thomson <[email protected]>
1 parent a2a3484 commit d7d6f07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration_tests/functional/test_pause_resume.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ def test_kvmclock_ctrl(uvm_plain_any):
141141
microvm = uvm_plain_any
142142
microvm.help.enable_console()
143143
microvm.spawn()
144-
microvm.basic_config()
144+
# Testing with 1 vcpu due to rare kernel bug which raises soft lockup warning when we have
145+
# multiple vcpus
146+
microvm.basic_config(vcpu_count=1)
145147
microvm.add_net_iface()
146148
microvm.start()
147149

0 commit comments

Comments
 (0)