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 06:09:22 UTC
[incubator-pinot] branch s3-fix updated (6f7af1b -> 88fe941)
This is an automated email from the ASF dual-hosted git repository.
mayanks pushed a change to branch s3-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.
discard 6f7af1b Disable test.
new 88fe941 Disable test.
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (6f7af1b)
\
N -- N -- N refs/heads/s3-fix (88fe941)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../pinot/plugin/filesystem/S3PinotFSTest.java | 316 +++++++++++++++++++++
1 file changed, 316 insertions(+)
create mode 100644 pinot-plugins/pinot-file-system/pinot-s3/src/test/java/org/apache/pinot/plugin/filesystem/S3PinotFSTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[incubator-pinot] 01/01: Disable test.
Posted by ma...@apache.org.
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 88fe9416719eb8cdd151b5d6028e9e1934cfc531
Author: Mayank Shrivastava <ms...@linkedin.com>
AuthorDate: Wed Apr 22 21:04:52 2020 -0700
Disable test.
---
.../pinot/plugin/filesystem/S3PinotFSTest.java | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 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..8309426 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
@@ -31,7 +31,6 @@ import org.apache.commons.io.IOUtils;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
-import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import software.amazon.awssdk.core.sync.RequestBody;
import software.amazon.awssdk.services.s3.S3Client;
@@ -41,8 +40,8 @@ import software.amazon.awssdk.services.s3.model.ListObjectsV2Response;
import software.amazon.awssdk.services.s3.model.S3Object;
-@Test(enabled = false)
-@Listeners(com.adobe.testing.s3mock.testng.S3MockListener.class)
+@Test(enabled=false)
+//@Listeners(com.adobe.testing.s3mock.testng.S3MockListener.class)
public class S3PinotFSTest {
final String DELIMITER = "/";
S3PinotFS _s3PinotFS;
@@ -54,6 +53,7 @@ public class S3PinotFSTest {
@BeforeClass
public void setUp() {
+ System.out.println("Running S3PinotFSTest...");
S3Mock s3Mock = S3Mock.getInstance();
_s3Client = s3Mock.createS3ClientV2();
_s3PinotFS = new S3PinotFS();
@@ -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