-
Notifications
You must be signed in to change notification settings - Fork 157
Automatic retry ASM integration tests under failure #8011
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d6c35ec
Retry failing tests
NachoEchevarria 7213fa7
Do not include integration_tests_windows_iis
NachoEchevarria 137e52a
Dummy ASM change to trigger tests
NachoEchevarria 48127d7
Merge branch 'master' into nacho/RetryASMIntegrationTests
NachoEchevarria fe1020a
Merge branch 'master' into nacho/RetryASMIntegrationTests
NachoEchevarria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1710,12 +1710,25 @@ stages: | |
| SampleName: $(IntegrationTestSampleName) | ||
|
|
||
| - script: tracer\build.cmd RunIntegrationTests RunWindowsRegressionTests -Framework $(framework) --code-coverage-enabled $(CodeCoverageEnabled) | ||
| displayName: Run integration tests | ||
| displayName: Run integration tests (Tracer) | ||
| condition: ne(variables['area'], 'ASM') | ||
| env: | ||
| DD_LOGGER_DD_API_KEY: $(ddApiKey) | ||
| enable_crash_dumps: true | ||
| Filter: $(IntegrationTestFilter) | ||
| SampleName: $(IntegrationTestSampleName) | ||
| Area: $(area) | ||
|
|
||
| - script: tracer\build.cmd RunIntegrationTests RunWindowsRegressionTests -Framework $(framework) --code-coverage-enabled $(CodeCoverageEnabled) | ||
| displayName: Run integration tests (ASM) | ||
| condition: eq(variables['area'], 'ASM') | ||
| retryCountOnTaskFailure: 2 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gah, it's so ugly that we have to split these jobs, but I think that's the best we can do 😅 |
||
| env: | ||
| DD_LOGGER_DD_API_KEY: $(ddApiKey) | ||
| enable_crash_dumps: true | ||
| Filter: $(IntegrationTestFilter) | ||
| SampleName: $(IntegrationTestSampleName) | ||
| Area: $(area) | ||
andrewlock marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # TODO: Re-enable test-agent.windows once VM images are updated (hitting rate limits for docker) | ||
| # - script: docker compose -f docker-compose.windows.yml down | ||
|
|
@@ -2272,7 +2285,26 @@ stages: | |
| -e SampleName=$(IntegrationTestSampleName) \ | ||
| -e Area=$(area) \ | ||
| IntegrationTests | ||
| displayName: docker-compose run IntegrationTests | ||
| displayName: docker-compose run IntegrationTests (Tracer) | ||
| condition: ne(variables['area'], 'ASM') | ||
| env: | ||
| DD_LOGGER_DD_API_KEY: $(ddApiKey) | ||
| baseImage: $(baseImage) # for interpolation in the docker-compose file | ||
|
|
||
| - script: | | ||
| docker-compose -f docker-compose.yml -p $(DockerComposeProjectName) \ | ||
| run --no-deps --rm \ | ||
| -e baseImage=$(baseImage) \ | ||
| -e framework=$(publishTargetFramework) \ | ||
| -e CodeCoverageEnabled=$(CodeCoverageEnabled) \ | ||
| -e IncludeTestsRequiringDocker=false \ | ||
| -e Filter=$(IntegrationTestFilter) \ | ||
| -e SampleName=$(IntegrationTestSampleName) \ | ||
| -e Area=$(area) \ | ||
andrewlock marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| IntegrationTests | ||
| displayName: docker-compose run IntegrationTests (ASM) | ||
| condition: eq(variables['area'], 'ASM') | ||
| retryCountOnTaskFailure: 2 | ||
| env: | ||
| DD_LOGGER_DD_API_KEY: $(ddApiKey) | ||
| baseImage: $(baseImage) # for interpolation in the docker-compose file | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.