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

Enable race detection for unit tests #16239

Closed
wants to merge 4 commits into from

Conversation

6543
Copy link
Member

@6543 6543 commented Jun 23, 2021

since #14723 got merged we should be able to enforce race detection for unit tests

@6543 6543 added this to the 1.15.0 milestone Jun 23, 2021
@zeripath
Copy link
Contributor

Enabling this just before a release seems like a good way to delay the release even further.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 23, 2021
@6543
Copy link
Member Author

6543 commented Jun 23, 2021

I dont think the open pulls do have races in it and if so we should not merge them anyway!

@adelowo
Copy link
Member

adelowo commented Jun 23, 2021

Yep, I agree with @zeripath .

@zeripath
Copy link
Contributor

Race appears to break coverage results

@6543 6543 modified the milestones: 1.15.0, 1.16.0 Jun 23, 2021
@6543
Copy link
Member Author

6543 commented Jun 23, 2021

move for as long as it fails ...

@lunny
Copy link
Member

lunny commented Jun 24, 2021

Maybe also enable race on integration will fix the coverage.

@6543
Copy link
Member Author

6543 commented Jul 17, 2021

the issue is you can not combine coverage files who have different test modiys (race & non race flag enabled)

@6543 6543 closed this Jul 17, 2021
@6543 6543 deleted the RACE_ENABLED_unit-tests branch July 17, 2021 15:43
@6543 6543 removed this from the 1.16.0 milestone Jul 17, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants