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

Always retry integrationTest unless explicitly disabled with DISABLE_RETRY #4853

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Oct 28, 2024

Description

This PR updates the retry logic for the integrationTest task. Currently, it will only apply the retry logic if CI_ENVIRONMENT is set to normal. This PR changes this so that the retry logic is always applied, but can be disable through setting an env variable. You can disable tests with DISABLE_RETRY=true

For example:

DISABLE_RETRY=true ./gradlew integrationTest --tests SecurityConfigurationTests.testParallelTenantPutRequests

This PR is related to #4816 where the integrationTests are not being retried in the release testing workflow since CI_ENVIRONMENT is not set.

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Test fix

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@derek-ho derek-ho added backport 2.x backport to 2.x branch backport 2.18 labels Oct 28, 2024
@willyborankin willyborankin merged commit cdfd41e into opensearch-project:main Oct 28, 2024
43 of 44 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 28, 2024
…RETRY (#4853)

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit cdfd41e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 28, 2024
…RETRY (#4853)

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit cdfd41e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch backport 2.18
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants