diff --git a/.github/workflows/linux-tests.yml b/.github/workflows/linux-tests.yml index 26009428dd0..b9af4af0abe 100644 --- a/.github/workflows/linux-tests.yml +++ b/.github/workflows/linux-tests.yml @@ -88,7 +88,7 @@ jobs: - name: Run tests shell: bash run: | - pytest -m docker_runner + pytest -m docker_runner -rs # if [ "${{ matrix.test-type }}" == "unittests" ]; then # pytest test/unittests --durations=20 -n 4 -rs # elif [ "${{ matrix.test-type }}" == "integration" ]; then diff --git a/test/functional/command/runner_test.py b/test/functional/command/runner_test.py index 4d4f58fa610..1d41a7ecc52 100644 --- a/test/functional/command/runner_test.py +++ b/test/functional/command/runner_test.py @@ -15,12 +15,12 @@ def docker_skip(test_image=None): docker_client = docker.DockerClient(base_url=f'unix://{os.path.expanduser("~")}/.rd/docker.sock', version='auto') # Rancher if test_image: docker_client.images.pull(test_image) - except docker.errors.DockerException: - return True - except docker.errors.ImageNotFound: - return True - except docker.errors.APIError: - return True + except docker.errors.DockerException as e: + raise e + except docker.errors.ImageNotFound as e: + raise e + except docker.errors.APIError as e: + raise e return False