chore: Enable data race detection in argocd-agent 'dev-env' and E2E tests#793
chore: Enable data race detection in argocd-agent 'dev-env' and E2E tests#793jgwest wants to merge 1 commit intoargoproj-labs:mainfrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ests Signed-off-by: Jonathan West <jgwest@gmail.com>
d556a5d to
4f0d0b8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #793 +/- ##
==========================================
+ Coverage 47.68% 47.71% +0.02%
==========================================
Files 104 104
Lines 13393 13393
==========================================
+ Hits 6387 6391 +4
+ Misses 6400 6395 -5
- Partials 606 607 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Nice! I didn't even know it was possible to use the |
What does this PR do / why we need it:
We currently enable go data race detection for unit tests, and the E2E test portion of E2E tests, but NOT for the actual argocd agent binaries themselves when running E2E test. (The actual binaries are where we would expect most data races to occur)
This PR adds a new script which will wrap the 'go run' calls we use for executing agents (locally).
This script will:
I like this approach because it:
NOTE: this PR is currently expected to fail due to existing data races in the code 😅 .