Skip to content

Commit

Permalink
remove superfluous if
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Nov 25, 2024
1 parent ae038da commit 3ca262f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/bin/go_core_race_tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ COUNT="${COUNT:-5}"

echo "Test execution results: ---------------------"
echo ""
if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then
GORACE="log_path=$PWD/race" go test -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE
else
GORACE="log_path=$PWD/race" go test -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE
fi
GORACE="log_path=$PWD/race" go test -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE
EXITCODE=${PIPESTATUS[0]}


Expand Down

0 comments on commit 3ca262f

Please sign in to comment.