Skip to content

Commit

Permalink
build: reduce verbosity and bump timeout for SQL Race Logic Test
Browse files Browse the repository at this point in the history
This commit eliminates TESTFLAGS='-v' and bumps the timeout to 8 hours.

Fixes cockroachdb#54839

Release note: None
  • Loading branch information
rytaft committed Sep 29, 2020
1 parent d89343c commit f0cc091
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/teamcity-testlogicrace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ maybe_ccache

mkdir -p artifacts

TESTTIMEOUT=4h
TESTTIMEOUT=8h

run_json_test build/builder.sh \
stdbuf -oL -eL \
make testrace \
GOTESTFLAGS=-json \
PKG=./pkg/sql/logictest \
TESTTIMEOUT="${TESTTIMEOUT}" \
TESTFLAGS='-v' \
ENABLE_ROCKSDB_ASSERTIONS=1

# Run each of the optimizer tests again with randomized alternate query plans.
Expand All @@ -29,7 +28,7 @@ run_json_test build/builder.sh \
PKG=./pkg/sql/logictest \
TESTS='^TestLogic/local$$' \
TESTTIMEOUT="${TESTTIMEOUT}" \
TESTFLAGS='-optimizer-cost-perturbation=0.9 -v' \
TESTFLAGS='-optimizer-cost-perturbation=0.9' \
ENABLE_ROCKSDB_ASSERTIONS=1

LOGICTESTS=`ls -A pkg/sql/logictest/testdata/logic_test/`
Expand All @@ -51,7 +50,7 @@ for file in $LOGICTESTS; do
PKG=./pkg/sql/logictest \
TESTS='^TestLogic/local/'${file}'$$' \
TESTTIMEOUT="${TESTTIMEOUT}" \
TESTFLAGS='-disable-opt-rule-probability=0.5 -v' \
TESTFLAGS='-disable-opt-rule-probability=0.5' \
ENABLE_ROCKSDB_ASSERTIONS=1 \
fi
done

0 comments on commit f0cc091

Please sign in to comment.