Skip to content

Commit

Permalink
Turn off race detection for upload test (#1082)
Browse files Browse the repository at this point in the history
This patch can be reverted after the upstream testify library
fixes the code which causes a race condition when mocking.

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.
  • Loading branch information
varungandhi-src authored May 15, 2024
1 parent b24f883 commit aaf7b1a
Show file tree
Hide file tree
Showing 3 changed files with 460 additions and 438 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go test -race -v ./...
- run: |
go test -race -v ./...
go test -v ./...
Loading

0 comments on commit aaf7b1a

Please sign in to comment.