提交 74d9866a 编写于 作者: A Abdul Haleem

: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: NAbdul Haleem <abdhalee@linux.vnet.ibm.com>
上级 095020b9
......@@ -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():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册