HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test suite for 0.20-security-204 release. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-204@1152887 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index 2e4c123..6758992 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -140,6 +140,9 @@
HDFS-2057. Wait time to terminate the threads causes unit tests to
take longer time. (Bharath Mundlapudi via suresh)
+ HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test suite
+ for 0.20-security-204 release. (Matt Foley)
+
IMPROVEMENTS
HADOOP-7144. Expose JMX metrics via JSON servlet. (Robert Joseph Evans via
diff --git a/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java b/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java
index afd182a..07cf7be 100644
--- a/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java
+++ b/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestHdfsProxy.java
@@ -196,6 +196,15 @@
/** verify hdfsproxy implements the hftp interface */
public void testHdfsProxyInterface() throws Exception {
+ // Test currently fails in Jenkins with
+ // "org.apache.hadoop.ipc.RemoteException: hudson is not allowed to impersonate hudson"
+ // TODO: Fix and restore test after 0.20-security-204 release.
+ //
+ // doTestHdfsProxyInterface();
+ }
+
+ /** verify hdfsproxy implements the hftp interface */
+ private void doTestHdfsProxyInterface() throws Exception {
MiniDFSCluster cluster = null;
HdfsProxy proxy = null;
try {