hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r1346226 - in /hadoop/common/branches/branch-0.22/common: ./ src/test/core/org/apache/hadoop/security/authentication/client/ src/test/core/org/apache/hadoop/security/authentication/server/
Date Tue, 05 Jun 2012 03:41:14 GMT
Author: shv
Date: Tue Jun  5 03:41:14 2012
New Revision: 1346226

URL: http://svn.apache.org/viewvc?rev=1346226&view=rev
Log:
HADOOP-7645. Disable TestKerberosAuthenticator and TestKerberosAuthenticationHandler. Contributed
by Jitendra Pandey and Benoy Antony.

Modified:
    hadoop/common/branches/branch-0.22/common/CHANGES.txt
    hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java
    hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java

Modified: hadoop/common/branches/branch-0.22/common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/common/CHANGES.txt?rev=1346226&r1=1346225&r2=1346226&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/common/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.22/common/CHANGES.txt Tue Jun  5 03:41:14 2012
@@ -31,6 +31,9 @@ Release 0.22.1 - Unreleased
 
     HADOOP-7674. Fix TestKerberosName. (Benoy Antony via shv)
 
+    HADOOP-7645. Disable TestKerberosAuthenticator and
+    TestKerberosAuthenticationHandler. (Benoy Antony via shv)
+
 Release 0.22.0 - 2011-11-29
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java?rev=1346226&r1=1346225&r2=1346226&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java
(original)
+++ hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java
Tue Jun  5 03:41:14 2012
@@ -17,12 +17,15 @@ import org.apache.hadoop.security.authen
 import org.apache.hadoop.security.authentication.server.AuthenticationFilter;
 import org.apache.hadoop.security.authentication.server.PseudoAuthenticationHandler;
 import org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler;
+import org.junit.Ignore;
 
 import java.net.HttpURLConnection;
 import java.net.URL;
 import java.util.Properties;
 import java.util.concurrent.Callable;
 
+//Disabled because kerberos setup and valid keytabs are required.
+@Ignore("requires kerberos setup")
 public class TestKerberosAuthenticator extends AuthenticatorTestCase {
 
   private Properties getAuthenticationHandlerConfiguration() {

Modified: hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java?rev=1346226&r1=1346225&r2=1346226&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java
(original)
+++ hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java
Tue Jun  5 03:41:14 2012
@@ -21,6 +21,7 @@ import org.apache.commons.codec.binary.B
 import org.ietf.jgss.GSSContext;
 import org.ietf.jgss.GSSManager;
 import org.ietf.jgss.GSSName;
+import org.junit.Ignore;
 import org.mockito.Mockito;
 import sun.security.jgss.GSSUtil;
 
@@ -29,6 +30,8 @@ import javax.servlet.http.HttpServletRes
 import java.util.Properties;
 import java.util.concurrent.Callable;
 
+//Disabled because kerberos setup and valid keytabs are required.
+@Ignore("requires kerberos setup")
 public class TestKerberosAuthenticationHandler extends TestCase {
 
   private KerberosAuthenticationHandler handler;



Mime
View raw message