From 8fe28cfcb8c9296f60ac1f00f1a930b0303e8a83 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 11 Jul 2024 10:01:55 +0300 Subject: retry selenium tests several times --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec53804c3..4a149f6d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -121,7 +121,12 @@ selenium: extends: .integration-test script: - export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1) - - python3 tests/integration/selenium_test.py + - | + for i in `seq 1 3`; do + echo attempt $i... + python3 tests/integration/selenium_test.py && break + sleep 3 + done needs: - job: phpunit-integration artifacts: -- cgit v1.2.3-54-g00ecf