未验证 提交 ab5591bc 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1377 from dagrh/fractionalsleep

system_reset_bootable: Use fractional random sleeps
......@@ -51,7 +51,7 @@ def run(test, params, env):
interval_tmp = interval
if params.get("fixed_interval", "yes") != "yes":
interval_tmp = random.randint(0, interval)
interval_tmp = random.randint(0, interval * 1000) / 1000.0
logging.debug("Reset the system by monitor cmd"
" after %ssecs" % interval_tmp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册