Skip to content

Commit eeece9f

Browse files
committed
chore: exclude failing Bazel targets on Windows
Temporarily excludes specific Bigtable, Storage, and Pub/Sub targets that are currently unstable or failing in the Windows Bazel CI environment. References #15678.
1 parent a202418 commit eeece9f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ci/kokoro/windows/builds/bazel.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,19 @@ $test_flags = $build_flags
4040
$test_flags += @("--test_output=errors", "--verbose_failures=true")
4141

4242
Write-Host "`n$(Get-Date -Format o) Compiling and running unit tests"
43-
bazelisk $common_flags test $test_flags --test_tag_filters=-integration-test ...
43+
# See #15678
44+
$exclude_build_targets = @("-//google/cloud/bigtable:internal_query_plan_test", `
45+
"-//google/cloud/storage/tests:storage_include_test-default", `
46+
"-//google/cloud/storage/tests:storage_include_test-grpc-metadata", `
47+
"-//google/cloud/pubsub/samples:all")
48+
bazelisk $common_flags test $test_flags --test_tag_filters=-integration-test ... -- $exclude_build_targets
4449
if ($LastExitCode) {
4550
Write-Host -ForegroundColor Red "bazel test failed with exit code ${LastExitCode}."
4651
Exit ${LastExitCode}
4752
}
4853

4954
Write-Host "`n$(Get-Date -Format o) Compiling extra programs with bazel $common_flags build $build_flags ..."
50-
bazelisk $common_flags build $build_flags ...
55+
bazelisk $common_flags build $build_flags ... -- $exclude_build_targets
5156
if ($LastExitCode) {
5257
Write-Host -ForegroundColor Red "bazel build failed with exit code ${LastExitCode}."
5358
Exit ${LastExitCode}

0 commit comments

Comments
 (0)