You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ma...@apache.org on 2020/04/23 04:05:33 UTC
[incubator-pinot] 01/01: Disable test.
This is an automated email from the ASF dual-hosted git repository.
mayanks pushed a commit to branch s3-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit e8a28bf4672824ce3ab2292fc69270c6176a91ee
Author: Mayank Shrivastava <ms...@linkedin.com>
AuthorDate: Wed Apr 22 21:04:52 2020 -0700
Disable test.
---
.../pinot/plugin/filesystem/S3PinotFSTest.java | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/pinot-plugins/pinot-file-system/pinot-s3/src/test/java/org/apache/pinot/plugin/filesystem/S3PinotFSTest.java b/pinot-plugins/pinot-file-system/pinot-s3/src/test/java/org/apache/pinot/plugin/filesystem/S3PinotFSTest.java
index 5f173f3..d16121a 100644
--- a/pinot-plugins/pinot-file-system/pinot-s3/src/test/java/org/apache/pinot/plugin/filesystem/S3PinotFSTest.java
+++ b/pinot-plugins/pinot-file-system/pinot-s3/src/test/java/org/apache/pinot/plugin/filesystem/S3PinotFSTest.java
@@ -41,7 +41,7 @@ import software.amazon.awssdk.services.s3.model.ListObjectsV2Response;
import software.amazon.awssdk.services.s3.model.S3Object;
-@Test(enabled = false)
+@Test(enabled=false)
@Listeners(com.adobe.testing.s3mock.testng.S3MockListener.class)
public class S3PinotFSTest {
final String DELIMITER = "/";
@@ -74,7 +74,7 @@ public class S3PinotFSTest {
.putObject(S3TestUtils.getPutObjectRequest(BUCKET, fileNameWithFolder), RequestBody.fromBytes(new byte[0]));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testTouchFileInBucket()
throws Exception {
@@ -93,7 +93,7 @@ public class S3PinotFSTest {
Assert.assertTrue(Arrays.equals(response, originalFiles));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testTouchFilesInFolder()
throws Exception {
@@ -114,7 +114,7 @@ public class S3PinotFSTest {
Assert.assertTrue(Arrays.equals(response, Arrays.stream(originalFiles).map(x -> folder + DELIMITER + x).toArray()));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testListFilesInBucketNonRecursive()
throws Exception {
String[] originalFiles = new String[]{"a-list.txt", "b-list.txt", "c-list.txt"};
@@ -131,7 +131,7 @@ public class S3PinotFSTest {
Assert.assertTrue(Arrays.equals(actualFiles, originalFiles));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testListFilesInFolderNonRecursive()
throws Exception {
String folder = "list-files";
@@ -149,7 +149,7 @@ public class S3PinotFSTest {
Arrays.equals(Arrays.stream(originalFiles).map(x -> folder + DELIMITER + x).toArray(), actualFiles));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testListFilesInFolderRecursive()
throws Exception {
String folder = "list-files-rec";
@@ -171,7 +171,7 @@ public class S3PinotFSTest {
Assert.assertTrue(Arrays.equals(expectedResultList.toArray(), actualFiles));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testDeleteFile()
throws Exception {
String[] originalFiles = new String[]{"a-delete.txt", "b-delete.txt", "c-delete.txt"};
@@ -197,7 +197,7 @@ public class S3PinotFSTest {
Assert.assertTrue(Arrays.equals(actualResponse, expectedResultList.toArray()));
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testDeleteFolder()
throws Exception {
String[] originalFiles = new String[]{"a-delete-2.txt", "b-delete-2.txt", "c-delete-2.txt"};
@@ -218,7 +218,7 @@ public class S3PinotFSTest {
Assert.assertEquals(0, actualResponse.length);
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testIsDirectory()
throws Exception {
String[] originalFiles = new String[]{"a-dir.txt", "b-dir.txt", "c-dir.txt"};
@@ -242,7 +242,7 @@ public class S3PinotFSTest {
Assert.assertFalse(notIsDir);
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testExists()
throws Exception {
String[] originalFiles = new String[]{"a-ex.txt", "b-ex.txt", "c-ex.txt"};
@@ -270,7 +270,7 @@ public class S3PinotFSTest {
Assert.assertFalse(fileNotExists);
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testCopyFromAndToLocal()
throws Exception {
String fileName = "copyFile.txt";
@@ -290,7 +290,7 @@ public class S3PinotFSTest {
fileToDownload.deleteOnExit();
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testOpenFile()
throws Exception {
String fileName = "sample.txt";
@@ -303,7 +303,7 @@ public class S3PinotFSTest {
Assert.assertEquals(actualContents, fileContent);
}
- @Test(enabled = false)
+ @Test(enabled=false)
public void testMkdir()
throws Exception {
String folderName = "my-test-folder";
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org