Skip to content

Commit f1f5f92

Browse files
committed
Disable tests that depend on checksum validation
1 parent 19c0aae commit f1f5f92

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/storage/tests/object_checksum_integration_test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ TEST_F(ObjectChecksumIntegrationTest, XmlInsertWithCrc32c) {
9393
}
9494

9595
TEST_F(ObjectChecksumIntegrationTest, InsertWithCrc32cFailure) {
96+
// TODO(#4156) - use the MD5 hashes
97+
if (UsingGrpc()) GTEST_SKIP();
9698
StatusOr<Client> client = MakeIntegrationTestClient();
9799
ASSERT_STATUS_OK(client);
98100

@@ -108,6 +110,8 @@ TEST_F(ObjectChecksumIntegrationTest, InsertWithCrc32cFailure) {
108110
}
109111

110112
TEST_F(ObjectChecksumIntegrationTest, XmlInsertWithCrc32cFailure) {
113+
// TODO(#4156) - use the MD5 hashes
114+
if (UsingGrpc()) GTEST_SKIP();
111115
StatusOr<Client> client = MakeIntegrationTestClient();
112116
ASSERT_STATUS_OK(client);
113117

google/cloud/storage/tests/object_hash_integration_test.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ TEST_F(ObjectHashIntegrationTest, VerifyValidMD5StreamingWriteJSON) {
280280

281281
/// @test Verify invalid MD5 hash value before upload.
282282
TEST_F(ObjectHashIntegrationTest, InvalidMD5StreamingWriteJSON) {
283+
// TODO(#4157) - use the MD5 hashes
284+
if (UsingGrpc()) GTEST_SKIP();
283285
StatusOr<Client> client = MakeIntegrationTestClient();
284286
ASSERT_STATUS_OK(client);
285287

@@ -302,6 +304,8 @@ TEST_F(ObjectHashIntegrationTest, InvalidMD5StreamingWriteJSON) {
302304

303305
/// @test Verify MD5 hashes before upload.
304306
TEST_F(ObjectHashIntegrationTest, InvalidMD5StreamingWriteXML) {
307+
// TODO(#4157) - use the MD5 hashes
308+
if (UsingGrpc()) GTEST_SKIP();
305309
StatusOr<Client> client = MakeIntegrationTestClient();
306310
ASSERT_STATUS_OK(client);
307311

@@ -324,6 +328,8 @@ TEST_F(ObjectHashIntegrationTest, InvalidMD5StreamingWriteXML) {
324328

325329
/// @test Verify that hashes and checksums can be disabled in uploads.
326330
TEST_F(ObjectHashIntegrationTest, DisableHashesStreamingWriteJSON) {
331+
// TODO(#4157) - use the MD5 hashes
332+
if (UsingGrpc()) GTEST_SKIP();
327333
StatusOr<Client> client = MakeIntegrationTestClient();
328334
ASSERT_STATUS_OK(client);
329335

0 commit comments

Comments
 (0)