From ded1ec648063efe67fb4783a815e440003ce7200 Mon Sep 17 00:00:00 2001 From: Yalan Zhang Date: Tue, 10 Dec 2024 23:59:26 -0500 Subject: [PATCH] Extend the time for blockcopy to finish 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 --- .../src/backingchain/blockjob/blockjob_with_raw_option.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt/tests/src/backingchain/blockjob/blockjob_with_raw_option.py b/libvirt/tests/src/backingchain/blockjob/blockjob_with_raw_option.py index ff920fb645..7a53bd0ddd 100644 --- a/libvirt/tests/src/backingchain/blockjob/blockjob_with_raw_option.py +++ b/libvirt/tests/src/backingchain/blockjob/blockjob_with_raw_option.py @@ -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")