Skip to content

Commit

Permalink
ksm_ksmtuned: gives more time for ksm to start
Browse files Browse the repository at this point in the history
After checking the timings, the case failed because
ksmtuned needs some more time in order to start ksm
after reaching the threshold.

Signed-off-by: mcasquer <[email protected]>
  • Loading branch information
mcasquer committed Feb 8, 2024
1 parent f022952 commit 53fc43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu/tests/ksm_ksmtuned.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def check_qemu_used_mem(qemu_pid, mem):
stress_timeout, 10, 10):
test.error("QEMU used memory doesn't reach %s of guest mem %sM in "
"%ss" % (mem_thres, mem // 1024, stress_timeout))
time.sleep(30)
time.sleep(40)
free_mem_host = utils_memory.freememtotal()
ksm_status = process.getoutput(params['cmd_check_ksm_status'])
vm.destroy()
Expand Down

0 comments on commit 53fc43a

Please sign in to comment.