aboutsummaryrefslogtreecommitdiff
path: root/build/scripts
diff options
context:
space:
mode:
authorBrian Meek <brian@hntlabs.com>2022-08-05 01:19:33 -0700
committerGitHub <noreply@github.com>2022-08-05 09:19:33 +0100
commitde78eab63a99653edf68f783e263688ad4b701d8 (patch)
treedbc9170d76689f97bb684745e253c01248630d1e /build/scripts
parent9a655cb5e7f8b96a0b02203e69d866dfb1a184e2 (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/scripts')
-rwxr-xr-xbuild/scripts/build-test-lint.sh2
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 ./...