directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r561915 - /directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java
Date Wed, 01 Aug 2007 19:02:36 GMT
Author: erodriguez
Date: Wed Aug  1 12:02:35 2007
New Revision: 561915

URL: http://svn.apache.org/viewvc?view=rev&rev=561915
Log:
Uncommented 2 TGS policy tests after further testing on different platforms to ensure that
the localhost is uniformly resolved so the test wouldn't fail for anyone or the CI server.

Modified:
    directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java

Modified: directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java?view=diff&rev=561915&r1=561914&r2=561915
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/protocol/TicketGrantingPolicyTest.java
Wed Aug  1 12:02:35 2007
@@ -181,13 +181,6 @@
      */
     public void testForwardedNoAddressesTicket() throws Exception
     {
-        /*
-         * Test case needs further testing to ensure the localhost address is
-         * resolved uniformly on different platforms, or else the test case will fail.
-         */
-        assertTrue( true );
-
-        /*
         // Deny empty addresses tickets in policy.
         config.setEmptyAddressesAllowed( false );
 
@@ -231,7 +224,6 @@
 
         ErrorMessage error = ( ErrorMessage ) session.getMessage();
         assertEquals( "KDC policy rejects request", 12, error.getErrorCode() );
-        */
     }
 
 
@@ -346,13 +338,6 @@
      */
     public void testProxyNoAddressesTicket() throws Exception
     {
-        /*
-         * Test case needs further testing to ensure the localhost address is
-         * resolved uniformly on different platforms, or else the test case will fail.
-         */
-        assertTrue( true );
-
-        /*
         // Deny empty addresses tickets in policy.
         config.setEmptyAddressesAllowed( false );
 
@@ -396,7 +381,6 @@
 
         ErrorMessage error = ( ErrorMessage ) session.getMessage();
         assertEquals( "KDC policy rejects request", 12, error.getErrorCode() );
-        */
     }
 
 



Mime
View raw message