hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnaur...@apache.org
Subject [2/2] hadoop git commit: HADOOP-12801. Suppress obsolete S3FileSystem tests. Contributed by Chris Nauroth.
Date Tue, 10 May 2016 22:20:49 GMT
HADOOP-12801. Suppress obsolete S3FileSystem tests. Contributed by Chris Nauroth.

(cherry picked from commit d3dbfa7feee7922ddcd0b2e97898adf4e0c37de3)
(cherry picked from commit ba4883443141354fa457887fb2501226f6a0fa1f)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bbd463b3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bbd463b3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bbd463b3

Branch: refs/heads/branch-2.8
Commit: bbd463b3b27da44f2e5fea35e04ed71aee763f32
Parents: 235caef
Author: Chris Nauroth <cnauroth@apache.org>
Authored: Tue May 10 15:14:31 2016 -0700
Committer: Chris Nauroth <cnauroth@apache.org>
Committed: Tue May 10 15:14:42 2016 -0700

----------------------------------------------------------------------
 .../hadoop/fs/contract/s3/TestS3ContractRootDir.java | 15 +++++++++++++++
 .../hadoop/fs/contract/s3/TestS3ContractSeek.java    |  9 +++++++++
 .../org/apache/hadoop/fs/s3/TestS3Credentials.java   |  3 +++
 3 files changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bbd463b3/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractRootDir.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractRootDir.java
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractRootDir.java
index b968081..aeb68ba 100644
--- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractRootDir.java
+++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractRootDir.java
@@ -22,6 +22,9 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest;
 import org.apache.hadoop.fs.contract.AbstractFSContract;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
 /**
  * root dir operations against an S3 bucket
  */
@@ -31,4 +34,16 @@ public class TestS3ContractRootDir extends AbstractContractRootDirectoryTest
{
   protected AbstractFSContract createContract(Configuration conf) {
     return new S3Contract(conf);
   }
+
+  @Override
+  @Test
+  @Ignore
+  public void testRmEmptyRootDirNonRecursive() {
+  }
+
+  @Override
+  @Test
+  @Ignore
+  public void testRmRootRecursive() {
+  }
 }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bbd463b3/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractSeek.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractSeek.java
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractSeek.java
index bfcd163..5f9535f 100644
--- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractSeek.java
+++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3/TestS3ContractSeek.java
@@ -23,10 +23,19 @@ import org.apache.hadoop.fs.contract.AbstractContractSeekTest;
 import org.apache.hadoop.fs.contract.AbstractFSContract;
 import org.apache.hadoop.fs.contract.ContractTestUtils;
 
+import org.junit.Ignore;
+import org.junit.Test;
+
 public class TestS3ContractSeek extends AbstractContractSeekTest {
 
   @Override
   protected AbstractFSContract createContract(Configuration conf) {
     return new S3Contract(conf);
   }
+
+  @Override
+  @Test
+  @Ignore
+  public void testReadFullyZeroByteFile() {
+  }
 }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bbd463b3/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3/TestS3Credentials.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3/TestS3Credentials.java
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3/TestS3Credentials.java
index 28e1f4b..bcd52c0 100644
--- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3/TestS3Credentials.java
+++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3/TestS3Credentials.java
@@ -28,6 +28,7 @@ import java.io.File;
 import java.net.URI;
 
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.rules.TemporaryFolder;
@@ -120,6 +121,7 @@ public class TestS3Credentials {
   }
 
   @Test(expected=IllegalArgumentException.class)
+  @Ignore
   public void noSecretShouldThrow() throws Exception {
     S3Credentials s3Credentials = new S3Credentials();
     Configuration conf = new Configuration();
@@ -128,6 +130,7 @@ public class TestS3Credentials {
   }
 
   @Test(expected=IllegalArgumentException.class)
+  @Ignore
   public void noAccessIdShouldThrow() throws Exception {
     S3Credentials s3Credentials = new S3Credentials();
     Configuration conf = new Configuration();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message