From 88b878138ce57c4763ebcb586823897971ebb95d Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Wed, 11 Jul 2018 15:34:42 -0700 Subject: [PATCH] ignore nio tests related to requester pays bucket (#3452) --- .../com/google/cloud/storage/contrib/nio/it/ITGcsNio.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java index 3b35352154cc..a055bc137efa 100644 --- a/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java +++ b/google-cloud-clients/google-cloud-contrib/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java @@ -35,6 +35,7 @@ import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -145,7 +146,7 @@ private static void fillRequesterPaysFile(Storage storage, String fname, int siz } // Start of tests related to the "requester pays" feature - + @Ignore("blocked by #3448") @Test public void testFileExistsRequesterPaysNoUserProject() throws IOException { CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, ""); @@ -175,6 +176,7 @@ public void testFileExistsRequesterPaysWithAutodetect() throws IOException { Files.exists(path); } + @Ignore("blocked by #3448") @Test public void testCantCreateWithoutUserProject() throws IOException { CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, ""); @@ -195,7 +197,8 @@ public void testCanCreateWithUserProject() throws IOException { // should succeed because we specified a project Files.write(path, "I would like to write, please?".getBytes()); } - + + @Ignore("blocked by #3448") @Test public void testCantReadWithoutUserProject() throws IOException { CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, ""); @@ -217,6 +220,7 @@ public void testCanReadWithUserProject() throws IOException { Files.readAllBytes(path); } + @Ignore("blocked by #3448") @Test public void testCantCopyWithoutUserProject() throws IOException { CloudStorageFileSystem testRPBucket = getRequesterPaysBucket(false, "");