aboutsummaryrefslogtreecommitdiff
path: root/run-sytest.sh
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 /run-sytest.sh
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 'run-sytest.sh')
-rwxr-xr-xrun-sytest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-sytest.sh b/run-sytest.sh
index 47635fd1..e2398239 100755
--- a/run-sytest.sh
+++ b/run-sytest.sh
@@ -17,7 +17,7 @@ main() {
if [ -d ../sytest ]; then
local tmpdir
- tmpdir="$(mktemp -d --tmpdir run-systest.XXXXXXXXXX)"
+ tmpdir="$(mktemp -d -t run-systest.XXXXXXXXXX)"
trap "rm -r '$tmpdir'" EXIT
if [ -z "$DISABLE_BUILDING_SYTEST" ]; then