提交 1d3db86d 编写于 作者: Q Qianqian Zhu

linux_stress: stress app should not be killed

Stress app should not be killed without stress_duration defined
Signed-off-by: NQianqian Zhu <qizhu@redhat.com>
上级 1b06df60
......@@ -11,8 +11,8 @@ def run(test, params, env):
General stress test for linux:
1). Install stress if need
2). Start stress process
3). If no stress_time defined, keep stress until test_timeout;
otherwise execute below steps after sleeping stress_time long
3). If no stress_duration defined, keep stress until test_timeout;
otherwise execute below steps after sleeping stress_duration long
4). Stop stress process
5). Uninstall stress
6). Verify guest kernel crash
......@@ -45,7 +45,6 @@ def run(test, params, env):
if stress_duration:
time.sleep(stress_duration)
for vm in vms:
try:
s_ping, o_ping = utils_test.ping(vm.get_address(), count=5, timeout=20)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册