geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gr...@apache.org
Subject svn commit: r487486 - /geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java
Date Fri, 15 Dec 2006 09:07:49 GMT
Author: gregw
Date: Fri Dec 15 01:07:49 2006
New Revision: 487486

URL: http://svn.apache.org/viewvc?view=rev&rev=487486
Log:
temp change to expect 500 until next version of Jetty: GERONIMO-2654

Modified:
    geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java

Modified: geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java?view=diff&rev=487486&r1=487485&r2=487486
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jetty6/src/test/java/org/apache/geronimo/jetty6/ContainerTest.java
Fri Dec 15 01:07:49 2006
@@ -37,7 +37,9 @@
             fail();
         } catch (Exception e) {
             // 404 proves we spoke to the server even if we didn't get anything
-//            assertEquals(HttpURLConnection.HTTP_NOT_FOUND, connection.getResponseCode());
+	    // TODO change back to 404 when Jetty server is updated
+            // assertEquals(HttpURLConnection.HTTP_NOT_FOUND, connection.getResponseCode());
+            assertEquals(HttpURLConnection.HTTP_SERVER_ERROR, connection.getResponseCode());
             connection.disconnect();
         }
     }
@@ -63,7 +65,9 @@
             fail();
         } catch (Exception e) {
             // see if we removed the ws.
-//            assertEquals(HttpURLConnection.HTTP_NOT_FOUND, connection.getResponseCode());
+	    // TODO change back to 404 when Jetty server is updated
+            //assertEquals(HttpURLConnection.HTTP_NOT_FOUND, connection.getResponseCode());
+            assertEquals(HttpURLConnection.HTTP_SERVER_ERROR, connection.getResponseCode());
             connection.disconnect();
         }
     }



Mime
View raw message