Skip to content

Commit

Permalink
throttle_parameter_test:fix disk serial issue
Browse files Browse the repository at this point in the history
The disk serial number in the latest Linux guest can
not be displayed in time. Adding some time delay
after booting.

Signed-off-by: qingwangrh <[email protected]>
  • Loading branch information
qingwangrh committed Sep 4, 2024
1 parent 050920b commit cc33006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qemu/tests/throttle_parameter_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

from virttest import error_context

from provider.storage_benchmark import generate_instance
Expand All @@ -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')
Expand Down

0 comments on commit cc33006

Please sign in to comment.