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

Turn off race detection for upload test #1082

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

varungandhi-src
Copy link
Contributor

Having the tests be red on main is confusing. While we wait for stretchr/testify#1598
to land, I think it's best to turn off the bad test when running with the race detector.
So this PR moves the test to a different file which is only compiled with go:build !race.

I couldn't quite figure out how to run the single test without race detection while
running others with race detection, so I've temporarily added two test commands
in the go-ci.yml file.

Test plan

Covered by existing tests

@varungandhi-src varungandhi-src merged commit aaf7b1a into main May 15, 2024
6 of 8 checks passed
@varungandhi-src varungandhi-src deleted the vg/workaround-race branch May 15, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants