Skip to content

Commit

Permalink
build: disable race for gossip and use failfast
Browse files Browse the repository at this point in the history
Turn off race detection for gossip (again).

Signed-off-by: Matthew Sykes <[email protected]>
  • Loading branch information
sykesm authored and Brett Logan committed Apr 12, 2020
1 parent ad0624a commit 2e81337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ run_tests() {
local -a serial
while IFS= read -r pkg; do serial+=("$pkg"); done < <(serial_test_packages "$@")
if [ "${#serial[@]}" -ne 0 ]; then
go test "${flags[@]}" "${race_flags[@]}" -tags "$GO_TAGS" "${serial[@]}" -short -p 1 -timeout=20m
go test "${flags[@]}" -failfast -tags "$GO_TAGS" "${serial[@]}" -short -p 1 -timeout=20m
fi

local -a parallel
Expand Down

0 comments on commit 2e81337

Please sign in to comment.