File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ mapfile -t args < <(bazel::common_args)
2727args+=(" --instrumentation_filter=/google/cloud[/:],/generator[/:]" )
2828args+=(" --instrument_test_targets" )
2929bazel coverage " ${args[@]} " --test_tag_filters=-integration-test ...
30+ GOOGLE_CLOUD_CPP_SPANNER_SLOW_INTEGRATION_TESTS=" instance"
3031mapfile -t integration_args < <( integration::args)
3132integration::bazel_with_emulators coverage " ${args[@]} " " ${integration_args[@]} "
3233
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ function integration::args() {
7373 " --test_env=GOOGLE_CLOUD_CPP_STORAGE_TEST_SIGNING_KEYFILE=${PROJECT_ROOT} /google/cloud/storage/tests/test_service_account.not-a-test.json"
7474 " --test_env=GOOGLE_CLOUD_CPP_STORAGE_TEST_SIGNING_CONFORMANCE_FILENAME=${PROJECT_ROOT} /google/cloud/storage/tests/v4_signatures.json"
7575 # Spanner
76+ " --test_env=GOOGLE_CLOUD_CPP_SPANNER_SLOW_INTEGRATION_TESTS=${GOOGLE_CLOUD_CPP_SPANNER_SLOW_INTEGRATION_TESTS:- } "
7677 " --test_env=GOOGLE_CLOUD_CPP_SPANNER_TEST_INSTANCE_ID=${GOOGLE_CLOUD_CPP_SPANNER_TEST_INSTANCE_ID} "
7778 " --test_env=GOOGLE_CLOUD_CPP_SPANNER_TEST_SERVICE_ACCOUNT=${GOOGLE_CLOUD_CPP_SPANNER_TEST_SERVICE_ACCOUNT} "
7879 )
@@ -150,7 +151,6 @@ function integration::bazel_with_emulators() {
150151 bazel " ${verb} " " ${args[@]} "
151152
152153 # TODO(#6083): Add support for:
153- # - GOOGLE_CLOUD_CPP_SPANNER_SLOW_INTEGRATION_TESTS
154154 # - GOOGLE_CLOUD_CPP_SPANNER_DEFAULT_ENDPOINT
155155 io::log_h2 " Running Spanner integration tests"
156156 bazel " ${verb} " " ${args[@]} " --test_tag_filters=integration-test \
You can’t perform that action at this time.
0 commit comments