summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2024-07-11 10:01:55 +0300
committerAndrew Dolgov <[email protected]>2024-07-11 10:01:55 +0300
commit8fe28cfcb8c9296f60ac1f00f1a930b0303e8a83 (patch)
treecf6292f704eb846e7ab6487783cd1eb73a6b3a6b /.gitlab-ci.yml
parenta758d287ffbfb0abbd3e546a05f73cbe0283d181 (diff)
retry selenium tests several times
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
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: