1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-26 16:37:33 +02:00

retry selenium tests several times

This commit is contained in:
Andrew Dolgov 2024-07-11 10:01:55 +03:00
parent a758d287ff
commit 8fe28cfcb8
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A

View File

@ -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: