if an AccessLogValve has been activated.
The test relies on receiving data via
StandardEngine.logAccess() which is already
handled by the other AccessLog.
By default no AccessLogValve is activated, so the
validation is still done.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1144854 13f79535-47bb-0310-9956-
ffa450edef68
// Check the access log
if (completeOnTimeout && dispatchUrl != null) {
- validateAccessLog(alv, 1, 500, 0, TimeoutServlet.ASYNC_TIMEOUT +
- TIMEOUT_MARGIN + REQUEST_TIME);
+ if (!isAccessLogEnabled()) {
+ validateAccessLog(alv, 1, 500, 0, TimeoutServlet.ASYNC_TIMEOUT +
+ TIMEOUT_MARGIN + REQUEST_TIME);
+ }
} else {
validateAccessLog(alv, 1, 200, TimeoutServlet.ASYNC_TIMEOUT,
TimeoutServlet.ASYNC_TIMEOUT + TIMEOUT_MARGIN +