Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added retry for docker tests #705

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

danyi1212
Copy link
Collaborator

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

  • I sign off on contributing this submission to open-source
  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@danyi1212 danyi1212 self-assigned this Nov 18, 2024
Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit b028772
🔍 Latest deploy log https://app.netlify.com/sites/opal-docs/deploys/673b165e69ac74000854ec78

app-tests/run_retry.sh Outdated Show resolved Hide resolved
@danyi1212 danyi1212 force-pushed the dan/per-11148-added-try-to-opal-e2e-tests branch 2 times, most recently from 7b4c02c to 3b52baf Compare November 18, 2024 10:19
RETRY_COUNT=0

while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
echo "Running test (attempt $((RETRY_COUNT+1)) of $MAX_RETRIES)..."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't knwo if printf support here but that little more "clean"
printf "Running test (attempt %d of %d)...\n" $((++RETRY_COUNT)) $MAX_RETRIES

@danyi1212 danyi1212 force-pushed the dan/per-11148-added-try-to-opal-e2e-tests branch from 3b52baf to eaeba15 Compare November 18, 2024 10:24
@danyi1212 danyi1212 force-pushed the dan/per-11148-added-try-to-opal-e2e-tests branch from eaeba15 to b028772 Compare November 18, 2024 10:26
@danyi1212 danyi1212 merged commit ea0bbb8 into master Nov 18, 2024
11 of 12 checks passed
@danyi1212 danyi1212 deleted the dan/per-11148-added-try-to-opal-e2e-tests branch November 18, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants