This is an automated email from the ASF dual-hosted git repository.
remm 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 95449b8720 Fix test
95449b8720 is described below
commit 95449b8720d363c07e9d2f48f71fc2ecb083db7a
Author: remm <[email protected]>
AuthorDate: Tue Oct 1 15:58:42 2024 +0200
Fix test
---
test/org/apache/catalina/manager/TestHostManagerWebapp.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/org/apache/catalina/manager/TestHostManagerWebapp.java
b/test/org/apache/catalina/manager/TestHostManagerWebapp.java
index ebf407c5c1..870dfb1f8e 100644
--- a/test/org/apache/catalina/manager/TestHostManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestHostManagerWebapp.java
@@ -43,6 +43,7 @@ public class TestHostManagerWebapp extends TomcatBaseTest {
@Test
public void testServlet() throws Exception {
Tomcat tomcat = getTomcatInstance();
+ tomcat.setAddDefaultWebXmlToWebapp(false);
tomcat.getServer().addLifecycleListener(new
StoreConfigLifecycleListener());
File configFile = new File(getTemporaryDirectory(),
"tomcat-users-host-manager.xml");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]