From 74d9866a178b9ff7969597428ac00cd9570cc495 Mon Sep 17 00:00:00 2001 From: Abdul Haleem Date: Fri, 13 Apr 2018 10:03:26 +0530 Subject: [PATCH] :Wait 10s for the memory state to change Waiting 120s is not appropriate as the system takes less time for memory state to change from 'going-online' to 'online' so changed it to 10s and with freq of 0.2s Signed-off-by: Abdul Haleem --- avocado/utils/memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/utils/memory.py b/avocado/utils/memory.py index d4f9fa71..0be388aa 100644 --- a/avocado/utils/memory.py +++ b/avocado/utils/memory.py @@ -52,7 +52,7 @@ def _check_memory_state(block): return True return False - return wait.wait_for(_is_online, timeout=120, step=1) or False + return wait.wait_for(_is_online, timeout=10, step=0.2) or False def check_hotplug(): -- GitLab