iotests: Skip test_stream_parallel in test 030 when doing "make check"
The test_stream_parallel test still occasionally fails in the CI. Thus let's disable it during "make check" for now so that it does not cause trouble during merge tests. We can enable it again once the problem has been resolved. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200907113824.134788-1-thuth@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
c075c42f9b
commit
33fe08fcaf
@ -55,6 +55,9 @@ fi
|
|||||||
|
|
||||||
cd tests/qemu-iotests
|
cd tests/qemu-iotests
|
||||||
|
|
||||||
|
# QEMU_CHECK_BLOCK_AUTO is used to disable some unstable sub-tests
|
||||||
|
export QEMU_CHECK_BLOCK_AUTO=1
|
||||||
|
|
||||||
ret=0
|
ret=0
|
||||||
for fmt in $format_list ; do
|
for fmt in $format_list ; do
|
||||||
./check -makecheck -$fmt $group || ret=1
|
./check -makecheck -$fmt $group || ret=1
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
import time
|
import time
|
||||||
import os
|
import os
|
||||||
import iotests
|
import iotests
|
||||||
|
import unittest
|
||||||
from iotests import qemu_img, qemu_io
|
from iotests import qemu_img, qemu_io
|
||||||
|
|
||||||
backing_img = os.path.join(iotests.test_dir, 'backing.img')
|
backing_img = os.path.join(iotests.test_dir, 'backing.img')
|
||||||
@ -228,6 +229,7 @@ class TestParallelOps(iotests.QMPTestCase):
|
|||||||
|
|
||||||
# Test that it's possible to run several block-stream operations
|
# Test that it's possible to run several block-stream operations
|
||||||
# in parallel in the same snapshot chain
|
# in parallel in the same snapshot chain
|
||||||
|
@unittest.skipIf(os.environ.get('QEMU_CHECK_BLOCK_AUTO'), 'disabled in CI')
|
||||||
def test_stream_parallel(self):
|
def test_stream_parallel(self):
|
||||||
self.assert_no_active_block_jobs()
|
self.assert_no_active_block_jobs()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user