Skip to content

Commit b46ff00

Browse files
committed
[FAB-12594] reduce overhead of race in unit tests
Change-Id: I6c5f311d5da21923a36b939cfdef850be65c7bbf Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 2ec4c9a commit b46ff00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unit-test/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ run_tests() {
7575

7676
local race_flags=""
7777
if [[ "$(uname -m)" == "x86_64" ]]; then
78+
export GORACE=atexit_sleep_ms=0 # reduce overhead of race
7879
race_flags="-race"
7980
fi
8081

0 commit comments

Comments
 (0)