Author: szetszwo
Date: Mon Apr  5 21:38:28 2010
New Revision: 930967

URL: http://svn.apache.org/viewvc?rev=930967&view=rev
Log:
HDFS-1074. hdfsproxy: Fix bugs in TestProxyUtil.  Contributed by Srikanth 
Sundarrajan

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    
hadoop/hdfs/trunk/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestProxyUtil.java

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=930967&r1=930966&r2=930967&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Mon Apr  5 21:38:28 2010
@@ -224,6 +224,9 @@ Trunk (unreleased changes)
 
     HDFS-939. libhdfs test is broken. (Eli Collins via tomwhite)
     
+    HDFS-1074. hdfsproxy: Fix bugs in TestProxyUtil.  (Srikanth Sundarrajan
+    via szetszwo)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: 
hadoop/hdfs/trunk/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestProxyUtil.java
URL: 
http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestProxyUtil.java?rev=930967&r1=930966&r2=930967&view=diff
==============================================================================
--- 
hadoop/hdfs/trunk/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestProxyUtil.java
 (original)
+++ 
hadoop/hdfs/trunk/src/contrib/hdfsproxy/src/test/org/apache/hadoop/hdfsproxy/TestProxyUtil.java
 Mon Apr  5 21:38:28 2010
@@ -40,9 +40,8 @@ public class TestProxyUtil extends TestC
     conf.set("hdfsproxy.hosts", hostFname);    
     
     assertTrue(ProxyUtil.sendCommand(conf, "/test/reloadPermFiles"));
-    assertTrue(ProxyUtil.sendCommand(conf, "/test/clearUgiCache"));    
     
-    conf.set("hdfsproxy.https.address", "localhost:0");
+    conf.set("hdfsproxy.https.address", "localhost:7777");
     assertFalse(ProxyUtil.sendCommand(conf, "/test/reloadPermFiles"));
     assertFalse(ProxyUtil.sendCommand(conf, "/test/reloadPermFiles"));
   }


Reply via email to