You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ke...@apache.org on 2010/04/06 22:36:04 UTC
svn commit: r931312 -
/geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java
Author: kevan
Date: Tue Apr 6 20:36:04 2010
New Revision: 931312
URL: http://svn.apache.org/viewvc?rev=931312&view=rev
Log:
Fix failing test
Modified:
geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java
Modified: geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java?rev=931312&r1=931311&r2=931312&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java (original)
+++ geronimo/server/branches/2.2/plugins/tomcat/geronimo-tomcat6-clustering-wadi/src/test/java/org/apache/geronimo/tomcat/cluster/ClusteredManagerTest.java Tue Apr 6 20:36:04 2010
@@ -149,6 +149,8 @@ public class ClusteredManagerTest extend
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 {