Skip to content

Commit

Permalink
Extend the time for blockcopy to finish
Browse files Browse the repository at this point in the history
Current blockcopy will timeout in 100s. Extend the time to be 300s which
is enough for the operation to finish.

Signed-off-by: Yalan Zhang <[email protected]>
  • Loading branch information
yalzhang committed Dec 11, 2024
1 parent 2fa1175 commit ded1ec6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ def _abort_job():
test.log.info("Check if the job can be aborted successfully")
if utils_misc.wait_for(
lambda: libvirt.check_blockjob(vm_name,
dev, "progress", "100(.00)?"), 100):
dev, "progress", "100(.00)?"), 300):
virsh.blockjob(vm_name, dev, options=' --pivot',
debug=True,
ignore_status=False)
else:
test.fail("Blockjob timeout in 100 sec.")
test.fail("Blockjob timeout in 300 sec.")

test.log.info("TEST_STEP3: Check the output of 'blockjob --raw' "
"after aborting the job")
Expand Down

0 comments on commit ded1ec6

Please sign in to comment.