[TEST] use a default host name if localAddress is not available
Closes #7409
This commit is contained in:
parent
805f042293
commit
45f062792c
|
@ -393,7 +393,7 @@ public final class InternalTestCluster extends TestCluster {
|
|||
|
||||
public static String clusterName(String prefix, String childVMId, long clusterSeed) {
|
||||
StringBuilder builder = new StringBuilder(prefix);
|
||||
builder.append('-').append(NetworkUtils.getLocalAddress().getHostName());
|
||||
builder.append('-').append(NetworkUtils.getLocalHostName("__default_host__"));
|
||||
builder.append("-CHILD_VM=[").append(childVMId).append(']');
|
||||
builder.append("-CLUSTER_SEED=[").append(clusterSeed).append(']');
|
||||
// if multiple maven task run on a single host we better have an identifier that doesn't rely on input params
|
||||
|
|
Loading…
Reference in New Issue