Revert "workflow: run assembler tests in parallel"

This reverts commit ea36e25b09.
This commit is contained in:
Michael Vogt 2024-03-05 16:28:07 +01:00 committed by Ondřej Budai
parent 37d5a23a64
commit 87636878da
2 changed files with 1 additions and 5 deletions

View file

@ -66,9 +66,6 @@ jobs:
with:
image: ghcr.io/osbuild/osbuild-ci:latest-202308241910
run: |
# Using 4 workers is a bit arbitrary, "auto" is probably too
# aggressive.
export TEST_WORKERS="-n 4"
export OSBUILD_TEST_STORE=/var/tmp/osbuild-test-store
TEST_CATEGORY="test.run.test_assemblers" \
tox -e "py36"

View file

@ -252,8 +252,7 @@ def loop_create_device(ctl, fd, offset=None, sizelimit=None):
lo = ctl.loop_for_fd(fd,
offset=offset,
sizelimit=sizelimit,
autoclear=True,
lock=True)
autoclear=True)
yield lo
finally:
if lo: