Skip to content

Commit

Permalink
donotmerge: try to reproduce ingress test failures
Browse files Browse the repository at this point in the history
This test has been reported as flaky, we'll run 50 iterations per
job, trying to catch a failure.
  • Loading branch information
petrutlucian94 committed Jan 14, 2025
1 parent 108cbf2 commit 562654e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,15 @@ jobs:
TEST_STRICT_INTERFACE_CHANNELS: "recent 6 strict"
TEST_MIRROR_LIST: '[{"name": "ghcr.io", "port": 5000, "remote": "https://ghcr.io", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}, {"name": "docker.io", "port": 5001, "remote": "https://registry-1.docker.io", "username": "", "password": ""}, {"name": "rocks.canonical.com", "port": 5002, "remote": "https://rocks.canonical.com/cdk"}]'
run: |
cd tests/integration && sudo --user "$USER" --preserve-env --preserve-env=PATH -- env -- tox -e integration -- --tags ${{ inputs.test-tags }}
cd tests/integration
set -e
iteration=0
while [[ $iteration -lt 50 ]]; do
iteration=$(( iteration + 1 ))
echo "Starting test iteration: $iteration"
sudo --user "$USER" --preserve-env --preserve-env=PATH -- env -- tox -e integration -- --tags ${{ inputs.test-tags }} -k test_ingress
done
- name: Prepare inspection reports
if: failure()
run: |
Expand Down

0 comments on commit 562654e

Please sign in to comment.