You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xu...@apache.org on 2010/01/20 14:08:08 UTC

svn commit: r901175 - /geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java

Author: xuhaihong
Date: Wed Jan 20 13:08:07 2010
New Revision: 901175

URL: http://svn.apache.org/viewvc?rev=901175&view=rev
Log:
Fix failed case due to recent change of Tomcat 7

Modified:
    geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java

Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java?rev=901175&r1=901174&r2=901175&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java (original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java Wed Jan 20 13:08:07 2010
@@ -149,6 +149,8 @@
     
     public void testInvalidateSessionReleasesUnderlyingSessionAndRemoveSessionFromManager() throws Exception {
         final org.apache.geronimo.clustering.Session underlyingSession =recordCreateUnderlyingSession();
+        context.getLoader();
+        modify().returnValue(null);
         underlyingSession.release();
         modify().perform(new Action() {
             public Object invocation(Object[] arg0, MethodHandle arg1) throws Throwable {