Skip to content

Commit bc0cb47

Browse files
author
Bolatbek Issakh
committed
Memory_balloon: Increase RSS sampling timeout
The test was failing because the host RSS drop did not reach the configured min_memory_difference within the default 30s window. Free Page Reporting can take longer to reclaim memory, especially on ARM hosts or under low memory pressure. Committer: Bolatbek Issakh <[email protected]>
1 parent 23e29d6 commit bc0cb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt/tests/src/memory/memory_balloon/memory_balloon_freepagereporting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def run_test():
7272

7373
test.log.info(
7474
"TEST_STEP4: Login the guest and consume the guest memory")
75-
rss_mem_thread = utils_misc.InterruptedThread(get_rss_mem_list)
75+
rss_mem_thread = utils_misc.InterruptedThread(get_rss_mem_list, kwargs={"timeout": 120})
7676
rss_mem_thread.start()
7777
free_mem = utils_memory.freememtotal(session)
7878
session.cmd_status("swapoff -a")

0 commit comments

Comments
 (0)