Author: markt
Date: Thu Jan 24 10:29:32 2019
New Revision: 1852009

URL: http://svn.apache.org/viewvc?rev=1852009&view=rev
Log:
Fix failing test after bz 63003 fix

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java

Modified: 
tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java?rev=1852009&r1=1852008&r2=1852009&view=diff
==============================================================================
--- 
tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java 
(original)
+++ 
tomcat/tc7.0.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java 
Thu Jan 24 10:29:32 2019
@@ -2379,11 +2379,13 @@ public class TestAsyncContextImpl extend
         request.setCoyoteRequest(new org.apache.coyote.Request());
         request.setContext(context);
         final AsyncContextImpl ac = new AsyncContextImpl(request);
+        context.incrementInProgressAsyncCount();
         
EasyMock.expect(context.getApplicationEventListeners()).andReturn(null);
         EasyMock.expect(context.getLoader()).andReturn(loader);
         EasyMock.expect(loader.getClassLoader()).andReturn(null);
         EasyMock.expect(Boolean.valueOf(
                 
context.fireRequestDestroyEvent(request.getRequest()))).andReturn(Boolean.TRUE);
+        context.decrementInProgressAsyncCount();
 
         EasyMock.replay(context, loader);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to