diff --git a/.gitlab-ci/default.yml b/.gitlab-ci/default.yml
index d0953e17ba3bb2e0924a596ed507d52bd7154f5c..06a1a2262a770c62fcf94f8a88dc124b95f1a475 100644
--- a/.gitlab-ci/default.yml
+++ b/.gitlab-ci/default.yml
@@ -55,6 +55,9 @@ build dumux:
 
 test dumux:
   stage: test
+  variables:
+    OMPI_ALLOW_RUN_AS_ROOT: 1
+    OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
   script:
     - |
       pushd build-cmake