Skip to content

Commit 111f276

Browse files
authored
test: disable requester pays tests (#825)
Related to #824
1 parent ba0de2c commit 111f276

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • java-storage-nio/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it

java-storage-nio/google-cloud-nio/src/test/java/com/google/cloud/storage/contrib/nio/it/ITGcsNio.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
import org.junit.AfterClass;
7676
import org.junit.Assert;
7777
import org.junit.BeforeClass;
78+
import org.junit.Ignore;
7879
import org.junit.Rule;
7980
import org.junit.Test;
8081
import org.junit.runner.RunWith;
@@ -175,6 +176,7 @@ private static void fillRequesterPaysFile(Storage storage, String fname, int siz
175176

176177
// Start of tests related to the "requester pays" feature
177178
@Test
179+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
178180
public void testFileExistsRequesterPaysNoUserProject() throws IOException {
179181
CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, "");
180182
Path path = testBucket.getPath(SML_FILE);
@@ -188,6 +190,7 @@ public void testFileExistsRequesterPaysNoUserProject() throws IOException {
188190
}
189191

190192
@Test
193+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
191194
public void testFileExistsRequesterPays() throws IOException {
192195
CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, project);
193196
Path path = testBucket.getPath(SML_FILE);
@@ -196,6 +199,7 @@ public void testFileExistsRequesterPays() throws IOException {
196199
}
197200

198201
@Test
202+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
199203
public void testFileExistsRequesterPaysWithAutodetect() throws IOException {
200204
CloudStorageFileSystem testBucket = getRequesterPaysBucket(true, project);
201205
Path path = testBucket.getPath(SML_FILE);
@@ -204,6 +208,7 @@ public void testFileExistsRequesterPaysWithAutodetect() throws IOException {
204208
}
205209

206210
@Test
211+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
207212
public void testCantCreateWithoutUserProject() throws IOException {
208213
CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, "");
209214
Path path = testBucket.getPath(TMP_FILE);
@@ -225,6 +230,7 @@ public void testCanCreateWithUserProject() throws IOException {
225230
}
226231

227232
@Test
233+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
228234
public void testCantReadWithoutUserProject() throws IOException {
229235
CloudStorageFileSystem testBucket = getRequesterPaysBucket(false, "");
230236
Path path = testBucket.getPath(SML_FILE);
@@ -246,6 +252,7 @@ public void testCanReadWithUserProject() throws IOException {
246252
}
247253

248254
@Test
255+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
249256
public void testCantCopyWithoutUserProject() throws IOException {
250257
CloudStorageFileSystem testRPBucket = getRequesterPaysBucket(false, "");
251258
CloudStorageFileSystem testBucket = getTestBucket();
@@ -307,6 +314,7 @@ public void testCanCopyWithUserProject() throws IOException {
307314
}
308315

309316
@Test
317+
@Ignore("TODO: https://github.com/googleapis/java-storage-nio/issues/824")
310318
public void testAutodetectWhenRequesterPays() throws IOException {
311319
CloudStorageFileSystem testRPBucket = getRequesterPaysBucket(true, project);
312320
Assert.assertEquals(

0 commit comments

Comments
 (0)