Skip to content

Commit 3dad2a9

Browse files
committed
more exclusions
1 parent 849c1df commit 3dad2a9

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

src/test/shell/bazel/bazel_coverage_hermetic_py_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2121
source "${CURRENT_DIR}/../integration_test_setup.sh" \
2222
|| { echo "integration_test_setup.sh not found!" >&2; exit 1; }
2323

24+
# TODO: Fix tests that fail without this flag
25+
add_to_bazelrc "test --test_env=IGNORE_COVERAGE_COLLECTION_FAILURES=1"
26+
2427
# Fetch hermetic python and register toolchain.
2528
function set_up() {
2629
cat >>MODULE.bazel <<EOF

src/test/shell/bazel/bazel_coverage_sh_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ source "${CURRENT_DIR}/../integration_test_setup.sh" \
2323
source "${CURRENT_DIR}/coverage_helpers.sh" \
2424
|| { echo "coverage_helpers.sh not found!" >&2; exit 1; }
2525

26+
# TODO: Fix tests that fail without this flag
27+
add_to_bazelrc "test --test_env=IGNORE_COVERAGE_COLLECTION_FAILURES=1"
2628

2729
function set_up_sh_test_coverage() {
2830
cat <<EOF > BUILD

src/test/shell/bazel/remote/build_without_the_bytes_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ source "$(rlocation "io_bazel/src/test/shell/integration_test_setup.sh")" \
4444
source "$(rlocation "io_bazel/src/test/shell/bazel/remote/remote_utils.sh")" \
4545
|| { echo "remote_utils.sh not found!" >&2; exit 1; }
4646

47+
# TODO: Fix tests that fail without this flag
48+
add_to_bazelrc "test --test_env=IGNORE_COVERAGE_COLLECTION_FAILURES=1"
49+
4750
function set_up() {
4851
start_worker
4952
}

src/test/shell/bazel/remote/remote_execution_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ source "$(rlocation "io_bazel/src/test/shell/bazel/remote_helpers.sh")" \
4646
source "$(rlocation "io_bazel/src/test/shell/bazel/remote/remote_utils.sh")" \
4747
|| { echo "remote_utils.sh not found!" >&2; exit 1; }
4848

49+
# TODO: Fix tests that fail without this flag
50+
add_to_bazelrc "test --test_env=IGNORE_COVERAGE_COLLECTION_FAILURES=1"
51+
4952
function set_up() {
5053
start_worker
5154
}

0 commit comments

Comments
 (0)