diff --git a/qemu/tests/throttle_operation_test.py b/qemu/tests/throttle_operation_test.py index 8a8ba5155f..b0160038b5 100644 --- a/qemu/tests/throttle_operation_test.py +++ b/qemu/tests/throttle_operation_test.py @@ -1,5 +1,6 @@ """IO-Throttling group and other operation relevant testing""" import json +import time from virttest import error_context from virttest.qemu_monitor import QMPCmdError @@ -97,6 +98,7 @@ def operation_snapshot(): vm.verify_alive() session = vm.wait_for_login(timeout=360) + time.sleep(20) error_context.context("Deploy fio", test.log.info) fio = generate_instance(params, vm, 'fio') diff --git a/qemu/tests/throttle_parameter_test.py b/qemu/tests/throttle_parameter_test.py index ed72f4b685..6b0bc28200 100644 --- a/qemu/tests/throttle_parameter_test.py +++ b/qemu/tests/throttle_parameter_test.py @@ -1,3 +1,5 @@ +import time + from virttest import error_context from provider.storage_benchmark import generate_instance @@ -23,6 +25,7 @@ def run(test, params, env): vm.verify_alive() session = vm.wait_for_login(timeout=360) + time.sleep(20) error_context.context("Deploy fio", test.log.info) fio = generate_instance(params, vm, 'fio')