Skip to content

Commit

Permalink
fix other ci failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bajajneha27 committed May 22, 2024
1 parent 4a0300c commit 4b2d042
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions google/cloud/storage/tests/signed_url_conformance_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include "google/cloud/internal/getenv.h"
#include "google/cloud/internal/time_utils.h"
#include "google/cloud/terminate_handler.h"
#include "google/cloud/testing_util/status_matchers.h"
#include "google/cloud/testing_util/scoped_environment.h"
#include "google/cloud/testing_util/status_matchers.h"
#include <google/protobuf/util/json_util.h>
#include <gmock/gmock.h>
#include <fstream>
Expand Down Expand Up @@ -76,7 +76,8 @@ class V4SignedUrlConformanceTest
class V4PostPolicyConformanceTest : public V4SignedUrlConformanceTest {};

TEST_P(V4SignedUrlConformanceTest, V4SignJson) {
testing_util::ScopedEnvironment endpoint("CLOUD_STORAGE_EMULATOR_ENDPOINT", absl::nullopt);
testing_util::ScopedEnvironment endpoint("CLOUD_STORAGE_EMULATOR_ENDPOINT",
absl::nullopt);
auto creds = oauth2::CreateServiceAccountCredentialsFromJsonFilePath(
service_account_key_filename_);
ASSERT_STATUS_OK(creds);
Expand Down Expand Up @@ -178,7 +179,8 @@ INSTANTIATE_TEST_SUITE_P(
}()));

TEST_P(V4PostPolicyConformanceTest, V4PostPolicy) {
testing_util::ScopedEnvironment endpoint("CLOUD_STORAGE_EMULATOR_ENDPOINT", absl::nullopt);
testing_util::ScopedEnvironment endpoint("CLOUD_STORAGE_EMULATOR_ENDPOINT",
absl::nullopt);
auto creds = oauth2::CreateServiceAccountCredentialsFromJsonFilePath(
service_account_key_filename_);
ASSERT_STATUS_OK(creds);
Expand Down

0 comments on commit 4b2d042

Please sign in to comment.