diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cdf3c96b62aacc114eae6417453c70628339efb0..698cc8105f4bafa9f7855516003046e88ba43ab8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -158,6 +158,7 @@ test:gcc8:opt:
       - ${TESTS_REPORT}
     when: always
     expire_in: 1 week
+  retry: 2
 
 test:gcc9:opt:
   stage: test
@@ -175,6 +176,7 @@ test:gcc9:opt:
       - ${TESTS_REPORT}
     when: always
     expire_in: 1 week
+  retry: 2
 
 test:gcc9:dbg:
   stage: test
@@ -192,6 +194,7 @@ test:gcc9:dbg:
       - ${TESTS_REPORT}
     when: always
     expire_in: 1 week
+  retry: 2
 
 test:gcc9:opt:python3:
   stage: test
@@ -209,6 +212,7 @@ test:gcc9:opt:python3:
       - ${TESTS_REPORT}
     when: always
     expire_in: 1 week
+  retry: 2
 
 test_public_headers_build:
   stage: test