From 3ca262ff4814688926db81a1455b4955972f5c8f Mon Sep 17 00:00:00 2001 From: Bartek Tofel Date: Mon, 25 Nov 2024 21:09:06 +0100 Subject: [PATCH] remove superfluous if --- tools/bin/go_core_race_tests | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/bin/go_core_race_tests b/tools/bin/go_core_race_tests index 27046c47a6c..467dda4e92f 100755 --- a/tools/bin/go_core_race_tests +++ b/tools/bin/go_core_race_tests @@ -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]}