提交 51ba127f 编写于 作者: X Xu Tian

Merge pull request #597 from xutian/fix_stream

block_stream_reboot: add random sleep time
import time
import random
from autotest.client.shared import error, utils
from qemu.tests import blk_stream
......@@ -30,6 +32,7 @@ class BlockStreamReboot(blk_stream.BlockStream):
bg.start()
if bg.isAlive():
self.process.append(bg)
time.sleep(random.randint(25, 100))
def clean(self):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册