-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
tests: fix check to enable the race detector in supported platforms #40764
tests: fix check to enable the race detector in supported platforms #40764
Conversation
This code is almost 4 years old, the support for the race detector was lacking at that point and Elastic had its first steps with arm64 builds of Beats. I updated the check to allow tests to run with RACE_DETECTOR=true in supported platforms, this includes linux/arm64 and darwin/arm64.
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
1442548
to
8050139
Compare
@mauri870 any reason why we are not backporting this to 8.x branch? |
I think I should clarify what is worth backporting. This is a minor change to support RACE on arm64, not a bug fix or anything significant enough to justify backporting, so I added the skip-backport label. |
@pierrehilbert Should I open a backport PR to 8.x manually? |
I think this is something we could use in 8.x branches too but I don't have strong opinion here, more difficult for me to find reason not to backport it. |
…40764) * tests: fix check to enable the race detector in supported platforms This code is almost 4 years old, the support for the race detector was lacking at that point and Elastic had its first steps with arm64 builds of Beats. I updated the check to allow tests to run with RACE_DETECTOR=true in supported platforms, this includes linux/arm64 and darwin/arm64. * add log if race is enabled for an unsupported platform (cherry picked from commit a4387db)
…40764) (#40847) * tests: fix check to enable the race detector in supported platforms This code is almost 4 years old, the support for the race detector was lacking at that point and Elastic had its first steps with arm64 builds of Beats. I updated the check to allow tests to run with RACE_DETECTOR=true in supported platforms, this includes linux/arm64 and darwin/arm64. * add log if race is enabled for an unsupported platform (cherry picked from commit a4387db) Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
Proposed commit message
This code is almost 4 years old, the support for the race detector was
lacking at that point and Elastic had its first steps with arm64 builds of Beats.
I updated the check to allow tests to run with RACE_DETECTOR=1 in supported
platforms, this includes linux/arm64 and darwin/arm64.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Try running tests on arm64 platforms with RACE_DETECTOR=1