diff --git a/tests/integration-tests/ExtraArtifactsAreIncluded.gitlab-ci.yml b/tests/integration-tests/ExtraArtifactsAreIncluded.gitlab-ci.yml
index ce2d471a70da472699101b625a0e95ba8af36d5d..0d6b04acae7b8a52f210590d96daa93d3331de9f 100644
--- a/tests/integration-tests/ExtraArtifactsAreIncluded.gitlab-ci.yml
+++ b/tests/integration-tests/ExtraArtifactsAreIncluded.gitlab-ci.yml
@@ -35,5 +35,5 @@ verify:plan-job:uploaded-extra-artifact:
         exit 0
       else
         echo 'Error: the extra artifact was not uploaded by the plan job.'
-        exit 0
+        exit 1
       fi