This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 1e27a54a54 Fix back-port for test
1e27a54a54 is described below
commit 1e27a54a5487b80dfac91b5015e9a3a514cd2335
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Nov 7 16:37:23 2023 +0000
Fix back-port for test
---
.../apache/catalina/core/TestApplicationHttpRequestPerformance.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/test/org/apache/catalina/core/TestApplicationHttpRequestPerformance.java
b/test/org/apache/catalina/core/TestApplicationHttpRequestPerformance.java
index a0a1556a8e..1592ceba2f 100644
--- a/test/org/apache/catalina/core/TestApplicationHttpRequestPerformance.java
+++ b/test/org/apache/catalina/core/TestApplicationHttpRequestPerformance.java
@@ -25,7 +25,8 @@ public class TestApplicationHttpRequestPerformance {
@Test
public void testGetAttribute() {
org.apache.coyote.Request coyoteRequest = new
org.apache.coyote.Request();
- Request request = new Request(null, coyoteRequest);
+ Request request = new Request(null);
+ request.setCoyoteRequest(coyoteRequest);
ApplicationHttpRequest applicationHttpRequest = new
ApplicationHttpRequest(request, null ,false);
// Warm-up
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]