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

markt-asf 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 f5e24cf27d Further fix for CI faiures
f5e24cf27d is described below

commit f5e24cf27dc94e26b0f27a6215274acf89b1bd8e
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Oct 1 15:34:40 2026 +0100

    Further fix for CI faiures
---
 test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java 
b/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
index ce56274a92..25424de64f 100644
--- a/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
+++ b/test/org/apache/catalina/ant/jmx/TestJMXAccessorTask.java
@@ -107,6 +107,8 @@ public class TestJMXAccessorTask {
      */
     @Test
     public void testAccessJMXConnectionReuseAndMismatch() throws Exception {
+        // Force the use of localhost to resolve CI failures
+        System.setProperty("java.rmi.server.hostname", "127.0.0.1");
         int port = getAvailablePort();
         Registry registry = LocateRegistry.createRegistry(port);
         MBeanServer mbeanServer = ManagementFactory.getPlatformMBeanServer();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to