diff options
author | Brian Meek <brian@hntlabs.com> | 2022-08-05 01:19:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 09:19:33 +0100 |
commit | de78eab63a99653edf68f783e263688ad4b701d8 (patch) | |
tree | dbc9170d76689f97bb684745e253c01248630d1e /build | |
parent | 9a655cb5e7f8b96a0b02203e69d866dfb1a184e2 (diff) |
Add race testing to tests, and fix a few small race conditions in the tests (#2587)
* Add race testing to tests, and fix a few small race conditions in the tests
* Enable run-sytest on MacOS
* Remove deadlock detecting mutex, per code review feedback
* Remove autoformatting related changes and a closure that is not needed
* Adjust to importing nats client as 'natsclient'
Signed-off-by: Brian Meek <brian@hntlabs.com>
* Clarify the use of gooseMutex to proect goose internal state
Signed-off-by: Brian Meek <brian@hntlabs.com>
* Remove no longer needed mutex for guarding goose
Signed-off-by: Brian Meek <brian@hntlabs.com>
Diffstat (limited to 'build')
-rwxr-xr-x | build/scripts/build-test-lint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/build-test-lint.sh b/build/scripts/build-test-lint.sh index 8f0b775b..32f89c07 100755 --- a/build/scripts/build-test-lint.sh +++ b/build/scripts/build-test-lint.sh @@ -13,4 +13,4 @@ go build ./cmd/... ./build/scripts/find-lint.sh echo "Testing..." -go test -v ./... +go test --race -v ./... |