You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2024/10/01 14:01:36 UTC

(tomcat) branch 10.1.x updated: Fix test

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new eb0c006d84 Fix test
eb0c006d84 is described below

commit eb0c006d84e1c1f31cc840a91588a7d5270b6e0a
Author: remm <re...@apache.org>
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 85b3c18c27..4c26c9e1a4 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org