Skip to content

Commit

Permalink
Merge pull request #3796 from PaulYuuu/live_backup_add_bitmap-shutdow…
Browse files Browse the repository at this point in the history
…n-method
  • Loading branch information
PaulYuuu authored Aug 21, 2023
2 parents af9b31d + bae26e2 commit 5a13f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qemu/tests/live_backup_add_bitmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def check_bitmap_existence_as_expected(bitmaps, existence_param):
error_context.context("check bitmap existence", test.log.info)
check_bitmap_existence_as_expected(bitmaps, "existence")

error_context.context("system powerdown", test.log.info)
vm.monitor.system_powerdown()
if not vm.wait_for_shutdown(int(params.get("shutdown_timeout", 360))):
error_context.context("Shutting down the guest", test.log.info)
vm.graceful_shutdown(params.get_numeric("shutdown_timeout", 360))
if not vm.wait_for_shutdown():
test.fail("guest refuses to go down")

error_context.context("start vm", test.log.info)
Expand Down

0 comments on commit 5a13f60

Please sign in to comment.