Skip to content

Turn off race detection for upload test#1082

Merged
varungandhi-src merged 3 commits intomainfrom
vg/workaround-race
May 15, 2024
Merged

Turn off race detection for upload test#1082
varungandhi-src merged 3 commits intomainfrom
vg/workaround-race

Conversation

@varungandhi-src
Copy link
Copy Markdown
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
@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