Open scottmarlow opened 1 month ago
I'm going to try a local workaround in src/com/sun/ts/lib/harness/EETest.java:
// set the harness.host prop so the server can initialize the
// the TestUtil logging
try {
p.setProperty("harness.host",
InetAddress.getLocalHost().getHostAddress());
} catch (Throwable ignore) {
p.setProperty("harness.host", "localhost");
}
The ^ workaround of catching the exception and using p.setProperty("harness.host", "localhost");
seemed to help.
I'm concerned after running an EE 10 Platform TCK test locally that fails when trying to open remote logging listener which I think looks like an attempt to attack the machine which I started to workaround for EE 11 already:
The workaround for EE 11 is currently using
localhost
via change https://github.com/jakartaee/platform-tck/commit/ff54782e82b7f2819665d8721df4047d1986b8f7 but we may need more changes than that to use a specific ip address. The workaround to use a specific ip address could be to update the test machine hosts file to setlocalhost
(if possible).