From 8152096d17d900a7795753754233c9515ba2c529 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Sun, 25 Aug 2019 14:13:46 +0100 Subject: [PATCH] CI: Fix problem running simultaneous xvfb servers --- .ci/test_template.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/test_template.sh b/.ci/test_template.sh index c3ca00d51..6e42a7182 100644 --- a/.ci/test_template.sh +++ b/.ci/test_template.sh @@ -36,9 +36,9 @@ TEST_OPTS="--cov-report= --cov-append" # We run some tests under xvfb-run # because they invoke wx. Sleep in # between, otherwise xvfb gets upset. -xvfb-run python setup.py test --addopts="$TEST_OPTS tests/test_idle.py" +xvfb-run -a python setup.py test --addopts="$TEST_OPTS tests/test_idle.py" sleep 5 -xvfb-run python setup.py test --addopts="$TEST_OPTS tests/test_platform.py" +xvfb-run -a python setup.py test --addopts="$TEST_OPTS tests/test_platform.py" # We run the immv/imcp tests as the nobody # user because some tests expect permission -- GitLab