diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4835da6293de0e48b3f0853563e7fe3a205100ed_LmdpdGxhYi1jaS55bWw=..f59d751b42acd343c3007b26bb77f19a110e7ce8_LmdpdGxhYi1jaS55bWw= 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,8 +80,8 @@
         python3-pygments python3-coverage python3-dulwich python3-setuptools
         pyflakes3
       - >
-        python3 tests/run-tests.py -v
-        --xunit $PWD/tests-$CI_JOB_ID.xml --color=always --timeout 300
+        python3 tests/run-tests.py -v --color=always
+        --xunit $PWD/tests-$CI_JOB_ID.xml
     artifacts: *test-artifacts
 
 # Test that the tests pass against the current branches
diff --git a/contrib/ci.sh b/contrib/ci.sh
index 4835da6293de0e48b3f0853563e7fe3a205100ed_Y29udHJpYi9jaS5zaA==..f59d751b42acd343c3007b26bb77f19a110e7ce8_Y29udHJpYi9jaS5zaA== 100755
--- a/contrib/ci.sh
+++ b/contrib/ci.sh
@@ -3,5 +3,5 @@
 set -x
 
 exec python$PYTHON tests/run-tests.py \
-     --verbose --color=always --timeout 300 \
+     --verbose --color=always \
      --xunit $PWD/tests-$CI_JOB_ID.xml