Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use pkg/lock instead of stdlib sync
Currently the contrib/scripts/lock-check.sh script fails in the CI runtime tests with: 20:33:58 runtime: contrib/scripts/lock-check.sh 20:33:58 runtime: ./test/ginkgo-ext/scopes.go: mutex *sync.Mutex 20:33:58 runtime: ./test/ginkgo-ext/scopes.go: mutex: &sync.Mutex{}, 20:33:58 runtime: ./test/ginkgo-ext/scopes.go: mutex: &sync.Mutex{}, 20:33:58 runtime: Found sync.Mutex usage. Please use pkg/lock instead to improve deadlock detection 20:33:58 runtime: Makefile:508: recipe for target 'postcheck' failed 20:33:58 runtime: make: *** [postcheck] Error Fixes: 9d97e52 ("test: Mend gingko-ext") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
- Loading branch information