File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,19 @@ $test_flags = $build_flags
4040$test_flags += @ (" --test_output=errors" , " --verbose_failures=true" )
4141
4242Write-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
4449if ($LastExitCode ) {
4550 Write-Host - ForegroundColor Red " bazel test failed with exit code ${LastExitCode} ."
4651 Exit ${LastExitCode}
4752}
4853
4954Write-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
5156if ($LastExitCode ) {
5257 Write-Host - ForegroundColor Red " bazel build failed with exit code ${LastExitCode} ."
5358 Exit ${LastExitCode}
You can’t perform that action at this time.
0 commit comments