diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 65a261ba37ae18dae2225220db5e66e3d02ea7d9..35a952cb322e5aba6cde6f8dea34ae686dc0b189 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -853,7 +853,7 @@ kube-prometheus-stack-alerts:
     - *debug_information
     - export BASIC_AUTH_PW=$(python3 -m openappstack $HOSTNAME secrets | grep oas-prometheus-basic-auth | cut -d'=' -f2)
     - cd test/
-    - bash ../.gitlab/ci_scripts/retry_cmd_until_success.sh 10 10 pytest -s -m 'prometheus' --connection=ansible --ansible-inventory=../${CLUSTER_DIR}/inventory.yml --hosts='ansible://*'
+    - bash ../.gitlab/ci_scripts/retry_cmd_until_success.sh 30 10 pytest -s -m 'prometheus' --connection=ansible --ansible-inventory=../${CLUSTER_DIR}/inventory.yml --hosts='ansible://*'
   extends:
     - .ssh_setup
     - .kube_prometheus_stack_rules