File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed
Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,7 @@ excluded_rules=(
3030)
3131
3232mapfile -t args < <( bazel::common_args)
33- # Run as many of the integration tests as possible using production and gRPC:
34- # "media" says to use the hybrid gRPC/REST client. For more details see
35- # https://github.com/googleapis/google-cloud-cpp/issues/6268
36- readonly GOOGLE_CLOUD_CPP_STORAGE_GRPC_CONFIG=media
33+ # Run as many of the integration tests as possible using production and gRPC.
34+ readonly GOOGLE_CLOUD_CPP_STORAGE_GRPC_CONFIG=metadata
3735mapfile -t integration_args < <( integration::bazel_args)
3836bazel test " ${args[@]} " " ${integration_args[@]} " -- //google/cloud/storage/... " ${excluded_rules[@]} "
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ $env:GOOGLE_CLOUD_CPP_BIGTABLE_TEST_SERVICE_ACCOUNT="bigtable-test-iam-sa@${env:
4444$env: GOOGLE_CLOUD_CPP_BIGTABLE_TEST_QUICKSTART_TABLE = " quickstart"
4545
4646# Cloud Storage configuration parameters
47- $env: GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME = " cloud-cpp-testing-bucket"
48- $env: GOOGLE_CLOUD_CPP_STORAGE_TEST_DESTINATION_BUCKET_NAME = " cloud-cpp-testing-regional"
47+ $env: GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME = " gcs-grpc-team- cloud-cpp-testing-bucket"
48+ $env: GOOGLE_CLOUD_CPP_STORAGE_TEST_DESTINATION_BUCKET_NAME = " gcs-grpc-team- cloud-cpp-testing-regional"
4949$env: GOOGLE_CLOUD_CPP_STORAGE_TEST_REGION_ID = " us-central1"
5050$env: GOOGLE_CLOUD_CPP_STORAGE_TEST_LOCATION = " ${env: GOOGLE_CLOUD_CPP_STORAGE_TEST_REGION_ID} "
5151$env: GOOGLE_CLOUD_CPP_STORAGE_TEST_SERVICE_ACCOUNT = " storage-test-iam-sa@${env: GOOGLE_CLOUD_PROJECT} .iam.gserviceaccount.com"
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ export GOOGLE_CLOUD_CPP_BIGTABLE_TEST_QUICKSTART_TABLE="quickstart"
5353
5454# Cloud Storage configuration parameters
5555# An existing bucket, used in small tests that do not change the bucket metadata.
56- export GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME=" cloud-cpp-testing-bucket"
56+ export GOOGLE_CLOUD_CPP_STORAGE_TEST_BUCKET_NAME=" gcs-grpc-team- cloud-cpp-testing-bucket"
5757# A bucket with a different location and/or storage class from
5858# `cloud-cpp-testing-bucket`, some requests (object copy and rewrite) succeed
5959# immediately with buckets in the same location, and we want to demonstrate we
6060# can handle partial success.
61- export GOOGLE_CLOUD_CPP_STORAGE_TEST_DESTINATION_BUCKET_NAME=" cloud-cpp-testing-regional"
61+ export GOOGLE_CLOUD_CPP_STORAGE_TEST_DESTINATION_BUCKET_NAME=" gcs-grpc-team- cloud-cpp-testing-regional"
6262export GOOGLE_CLOUD_CPP_STORAGE_TEST_REGION_ID=" us-central1"
6363export GOOGLE_CLOUD_CPP_STORAGE_TEST_LOCATION=" ${GOOGLE_CLOUD_CPP_STORAGE_TEST_REGION_ID} "
6464export GOOGLE_CLOUD_CPP_STORAGE_TEST_SERVICE_ACCOUNT=" storage-test-iam-sa@${GOOGLE_CLOUD_PROJECT} .iam.gserviceaccount.com"
Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ std::string ToString(ExperimentTransport v) {
153153 return " " ;
154154}
155155
156- std::string RandomBucketPrefix () { return " cloud-cpp-testing-bm" ; }
156+ std::string RandomBucketPrefix () {
157+ return " gcs-grpc-team-cloud-cpp-testing-bm" ;
158+ }
157159
158160std::string MakeRandomBucketName (google::cloud::internal::DefaultPRNG& gen) {
159161 return storage::testing::MakeRandomBucketName (gen, RandomBucketPrefix ());
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ struct ThroughputOptions {
2929 std::string project_id;
3030 std::string labels;
3131 std::string region;
32- std::string bucket_prefix = " cloud-cpp-testing-bm" ;
32+ std::string bucket_prefix = " gcs-grpc-team- cloud-cpp-testing-bm" ;
3333 std::chrono::seconds duration =
3434 std::chrono::seconds (std::chrono::minutes(15 ));
3535 int thread_count = 1 ;
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ bool UsingEmulator() {
3232 .has_value ();
3333}
3434
35- std::string BucketPrefix () { return " cloud-cpp-testing-examples" ; }
35+ std::string BucketPrefix () {
36+ return " gcs-grpc-team-cloud-cpp-testing-examples" ;
37+ }
3638
3739std::string MakeRandomBucketName (google::cloud::internal::DefaultPRNG& gen) {
3840 return google::cloud::storage::testing::MakeRandomBucketName (gen,
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ std::unique_ptr<RetryPolicy> StorageIntegrationTest::TestRetryPolicy() {
146146}
147147
148148std::string StorageIntegrationTest::RandomBucketNamePrefix () {
149- return " cloud-cpp-testing" ;
149+ return " gcs-grpc-team- cloud-cpp-testing" ;
150150}
151151
152152std::string StorageIntegrationTest::MakeRandomBucketName () {
Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ class GrpcBucketMetadataIntegrationTest
4848TEST_F (GrpcBucketMetadataIntegrationTest, ObjectMetadataCRUD) {
4949 ScopedEnvironment grpc_config (" GOOGLE_CLOUD_CPP_STORAGE_GRPC_CONFIG" ,
5050 " metadata" );
51- // TODO(#5673) - restore gRPC integration tests against production
52- if (!UsingEmulator ()) GTEST_SKIP ();
5351
5452 auto const project_name = GetEnv (" GOOGLE_CLOUD_PROJECT" ).value_or (" " );
5553 ASSERT_THAT (project_name, Not (IsEmpty ()))
You can’t perform that action at this time.
0 commit comments