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

Add mage target for running tests with race detector #1268

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

wbrowne
Copy link
Member

@wbrowne wbrowne commented Mar 14, 2025

Which issue(s) this PR fixes:

Fixes #1262

Verified

This commit was signed with the committer’s verified signature.
unstubbable Hendrik Liebau
@wbrowne wbrowne added the enhancement New feature or request label Mar 14, 2025
@wbrowne wbrowne self-assigned this Mar 14, 2025
Copy link
Member

@zoltanbedi zoltanbedi left a comment

Choose a reason for hiding this comment

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

Yes that's it. I didn't add because I wanted to make sure that you all agree to it first.

What do you think, is it okay to run the backend tests with the race detector every time?

@wbrowne
Copy link
Member Author

wbrowne commented Mar 14, 2025

What do you think, is it okay to run the backend tests with the race detector every time?

I think it's good practice to run it, but the general compromise is performance. Considering the test suite is probably small, and will help eliminate potential concurrency issues, I don't see why not trying it out at least 😄

@wbrowne wbrowne marked this pull request as ready for review March 14, 2025 13:54
@wbrowne wbrowne requested a review from a team as a code owner March 14, 2025 13:54
@wbrowne wbrowne requested review from andresmgot, oshirohugo and xnyo and removed request for a team March 14, 2025 13:54
@wbrowne wbrowne merged commit c575855 into main Mar 14, 2025
3 checks passed
@wbrowne wbrowne deleted the add-test-with-race branch March 14, 2025 13:54
@wbrowne
Copy link
Member Author

wbrowne commented Mar 14, 2025

Enjoy @zoltanbedi https://github.com/grafana/grafana-plugin-sdk-go/releases/tag/v0.274.0!

@zoltanbedi
Copy link
Member

Thank you @wbrowne !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🚀 Shipped
Development

Successfully merging this pull request may close these issues.

Add possibility to run backend tests with race detector
3 participants