This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 2e73871  HDFS-15620. RBF: Fix test failures after HADOOP-17281 (#2375)
2e73871 is described below

commit 2e73871cab1d14e96d210c6e6a6e03fc8120b63d
Author: Akira Ajisaka <aajis...@apache.org>
AuthorDate: Mon Oct 12 09:52:12 2020 +0900

    HDFS-15620. RBF: Fix test failures after HADOOP-17281 (#2375)
    
    (cherry picked from commit 69ef9b1ee8825fbf6f06c2e3b84ca93e22398953)
---
 hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml                          | 5 +++++
 .../contract/router/web/TestRouterWebHDFSContractRootDirectory.java  | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml 
b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
index b797d48..bc38a38 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/pom.xml
@@ -114,6 +114,11 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd";>
       <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.assertj</groupId>
+      <artifactId>assertj-core</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/TestRouterWebHDFSContractRootDirectory.java
 
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/TestRouterWebHDFSContractRootDirectory.java
index dd2bbff..b1e4a05 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/TestRouterWebHDFSContractRootDirectory.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/fs/contract/router/web/TestRouterWebHDFSContractRootDirectory.java
@@ -71,4 +71,9 @@ public class TestRouterWebHDFSContractRootDirectory extends
   public void testRmEmptyRootDirRecursive() {
     // It doesn't apply because we still have the mount points here
   }
+
+  @Override
+  public void testSimpleRootListing() {
+    // It doesn't apply because DFSRouter dosn't support LISTSTATUS_BATCH.
+  }
 }


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

Reply via email to