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 fbce73e639 Set catalina.home to improve the test reliability
fbce73e639 is described below
commit fbce73e6399dd9118758d156d2a97293a65d7058
Author: remm <[email protected]>
AuthorDate: Fri Oct 4 09:36:44 2024 +0200
Set catalina.home to improve the test reliability
---
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 870dfb1f8e..5e05576b3b 100644
--- a/test/org/apache/catalina/manager/TestHostManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestHostManagerWebapp.java
@@ -42,6 +42,7 @@ public class TestHostManagerWebapp extends TomcatBaseTest {
@Test
public void testServlet() throws Exception {
+ System.setProperty("catalina.home",
getBuildDirectory().getAbsolutePath());
Tomcat tomcat = getTomcatInstance();
tomcat.setAddDefaultWebXmlToWebapp(false);
tomcat.getServer().addLifecycleListener(new
StoreConfigLifecycleListener());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]