Skip to content

Commit

Permalink
Revert "chore: ignore Update related gRPC tests which are failing due…
Browse files Browse the repository at this point in the history
… to b/270215524" (#1942)

Reverts #1917
  • Loading branch information
danielduhh committed Mar 20, 2023
1 parent df57705 commit 8df8203
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ private void doTestUniformBucketLevelAccessAclImpact(IamConfiguration iamConfigu
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testEnableAndDisableUniformBucketLevelAccessOnExistingBucket() throws Exception {
String bpoBucket = generator.randomBucketName();
BucketInfo.IamConfiguration ublaDisabledIamConfiguration =
Expand Down Expand Up @@ -493,7 +492,6 @@ public void testUnspecifiedPublicAccessPreventionOnBucket() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void changingPAPDoesNotAffectUBLA() throws Exception {
String bucketName = generator.randomBucketName();
try (TemporaryBucket tempB =
Expand Down Expand Up @@ -536,7 +534,6 @@ public void changingPAPDoesNotAffectUBLA() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void changingUBLADoesNotAffectPAP() throws Exception {
String bucketName = generator.randomBucketName();
try (TemporaryBucket tempB =
Expand Down Expand Up @@ -618,7 +615,6 @@ public void testRetentionPolicyNoLock() throws Exception {

@Test
@SuppressWarnings({"unchecked", "deprecation"})
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testEnableAndDisableBucketPolicyOnlyOnExistingBucket() throws Exception {
String bpoBucket = generator.randomBucketName();
try (TemporaryBucket tempB =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public final class ITBucketLifecycleRulesTest {
@Inject public Storage storage;

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void deleteRule_addingALabelToABucketWithASingleDeleteRuleOnlyModifiesTheLabels()
throws Exception {
LifecycleRule d1 =
Expand Down Expand Up @@ -90,7 +89,6 @@ public void condition_ageDays_0_shouldWork() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void deleteRule_modifyingLifecycleRulesMatchesLastOperation() throws Exception {
BucketInfo info;
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public void testGetBucketAbortMPULifecycle() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testDeleteLifecycleRules() throws Exception {
String bucketName = generator.randomBucketName();
BucketInfo bucketInfo =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ public void testBucketCustomPlacmentConfigDualRegion() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testBucketLogging() throws Exception {
String logsBucketName = generator.randomBucketName();
String loggingBucketName = generator.randomBucketName();
Expand Down Expand Up @@ -190,7 +189,6 @@ public void testBucketLogging() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testRemoveBucketCORS() {
String bucketName = generator.randomBucketName();
List<Cors.Origin> origins = ImmutableList.of(Cors.Origin.of("http://cloud.google.com"));
Expand Down Expand Up @@ -239,7 +237,6 @@ public void testRemoveBucketCORS() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testRpoConfig() {
String rpoBucket = generator.randomBucketName();
try {
Expand All @@ -262,7 +259,6 @@ public void testRetentionPolicyLock() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testRetentionPolicyLockRequesterPays() {
retentionPolicyLockRequesterPays(true);
}
Expand Down Expand Up @@ -390,7 +386,6 @@ public void testEnableDisableBucketDefaultEventBasedHold() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testCreateBucketWithAutoclass() {
String bucketName = generator.randomBucketName();
storage.create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public class ITKmsTest {
@Inject public KmsFixture kms;

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testClearBucketDefaultKmsKeyName() {
String bucketName = generator.randomBucketName();
Bucket remoteBucket =
Expand All @@ -88,7 +87,6 @@ public void testClearBucketDefaultKmsKeyName() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testUpdateBucketDefaultKmsKeyName() {
String bucketName = generator.randomBucketName();
Bucket remoteBucket =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ public ImmutableList<Param> parameters() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testBucketLabels() throws Exception {
BucketInfo bucket = newBucketInfo(param.initial);
try (TemporaryBucket tempB =
Expand All @@ -126,7 +125,6 @@ public void testBucketLabels() throws Exception {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testBlobMetadata() {
BlobInfo blob = newBlobInfo(param.initial);
Blob gen1 = storage.create(blob, BlobTargetOption.doesNotExist());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ public void testListBlobsMultiplePages() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testUpdateBlob() {
String blobName = "test-update-blob";
BlobInfo blob = BlobInfo.newBuilder(bucket, blobName).build();
Expand All @@ -585,7 +584,6 @@ public void testUpdateBlob() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testUpdateBlobReplaceMetadata() {
String blobName = "test-update-blob-replace-metadata";
ImmutableMap<String, String> metadata = ImmutableMap.of("k1", "a");
Expand All @@ -607,7 +605,6 @@ public void testUpdateBlobReplaceMetadata() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testUpdateBlobMergeMetadata() {
String blobName = "test-update-blob-merge-metadata";
ImmutableMap<String, String> metadata = ImmutableMap.of("k1", "a");
Expand All @@ -628,7 +625,6 @@ public void testUpdateBlobMergeMetadata() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testUpdateBlobUnsetMetadata() {

String blobName = "test-update-blob-unset-metadata";
Expand Down Expand Up @@ -1264,7 +1260,6 @@ public void testEnableDisableTemporaryHold() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testAttemptObjectDeleteWithEventBasedHold() {
String blobName = generator.randomObjectName();
BlobInfo blobInfo = BlobInfo.newBuilder(bucket, blobName).setEventBasedHold(true).build();
Expand All @@ -1281,7 +1276,6 @@ public void testAttemptObjectDeleteWithEventBasedHold() {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testAttemptDeletionObjectTemporaryHold() {
String blobName = generator.randomObjectName();
BlobInfo blobInfo = BlobInfo.newBuilder(bucket, blobName).setTemporaryHold(true).build();
Expand Down Expand Up @@ -1410,7 +1404,6 @@ public void testAutoContentTypeWriter() throws IOException {
}

@Test
@CrossRun.Ignore(transports = Transport.GRPC) // todo(b/270215524)
public void testBlobTimeStorageClassUpdated() {

String blobName = generator.randomObjectName();
Expand Down

0 comments on commit 8df8203

Please sign in to comment.