Skip to content

Commit

Permalink
ignore nio tests related to requester pays bucket (#3452)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihanzhen authored Jul 11, 2018
1 parent 42a9782 commit 88b8781
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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, "");
Expand Down Expand Up @@ -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, "");
Expand All @@ -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, "");
Expand All @@ -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, "");
Expand Down

0 comments on commit 88b8781

Please sign in to comment.