Skip to content

Commit

Permalink
ci: skip "integration"-style tests in testrace
Browse files Browse the repository at this point in the history
Closes #87700.
Release note: None
  • Loading branch information
rickystewart committed Sep 9, 2022
1 parent 2b5d87f commit e572dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/teamcity/cockroach/ci/tests/testrace_impl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ do
# Run affected tests.
for test in $tests
do
if [[ ! -z $(bazel query "attr(tags, \"broken_in_bazel\", $test)") ]]
if [[ ! -z $(bazel query "attr(tags, \"broken_in_bazel\", $test)") ]] || [[ ! -z $(bazel query "attr(tags, \"integration\", $test)") ]]
then
echo "Skipping test $test as it is broken in bazel"
echo "Skipping test $test"
continue
fi
$(bazel info bazel-bin --config=ci)/pkg/cmd/bazci/bazci_/bazci -- test --config=ci --config=race "$test" \
Expand Down

0 comments on commit e572dce

Please sign in to comment.