diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientLastAccessTimeTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientLastAccessTimeTest.java index 1abe697b973..b36945b205b 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientLastAccessTimeTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientLastAccessTimeTest.java @@ -44,7 +44,7 @@ public class ClientLastAccessTimeTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientModifyMaxInactiveIntervalTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientModifyMaxInactiveIntervalTest.java index d438dc2f9e7..df120b05f5d 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientModifyMaxInactiveIntervalTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientModifyMaxInactiveIntervalTest.java @@ -48,7 +48,7 @@ public class ClientModifyMaxInactiveIntervalTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientNonClusteredSessionScavengingTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientNonClusteredSessionScavengingTest.java index 4bf51699292..d555a941662 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientNonClusteredSessionScavengingTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientNonClusteredSessionScavengingTest.java @@ -71,7 +71,7 @@ public class ClientNonClusteredSessionScavengingTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientOrphanedSessionTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientOrphanedSessionTest.java index 5250dd68c9d..4b2ddba9ca2 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientOrphanedSessionTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientOrphanedSessionTest.java @@ -45,7 +45,7 @@ public class ClientOrphanedSessionTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionExpiryTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionExpiryTest.java index 160ce45a046..63e5ee28e5d 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionExpiryTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionExpiryTest.java @@ -45,7 +45,7 @@ public class ClientSessionExpiryTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionInvalidateCreateScavengeTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionInvalidateCreateScavengeTest.java index 371389498b5..402246b8e5e 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionInvalidateCreateScavengeTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionInvalidateCreateScavengeTest.java @@ -44,7 +44,7 @@ public class ClientSessionInvalidateCreateScavengeTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionMigrationTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionMigrationTest.java index 284a6a8d9ce..24da1e67372 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionMigrationTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionMigrationTest.java @@ -47,7 +47,7 @@ public class ClientSessionMigrationTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); } diff --git a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionScavengingTest.java b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionScavengingTest.java index fe5959c9356..42f808f9603 100644 --- a/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionScavengingTest.java +++ b/tests/test-sessions/test-hazelcast-sessions/src/test/java/org/eclipse/jetty/hazelcast/session/client/ClientSessionScavengingTest.java @@ -45,7 +45,7 @@ public class ClientSessionScavengingTest throws Exception { Config config = new Config().addMapConfig( new MapConfig().setName( MAP_NAME ) ) // - .setInstanceName( "beer" ); + .setInstanceName( Long.toString( System.currentTimeMillis() ) ); // start Hazelcast instance hazelcastInstance = Hazelcast.getOrCreateHazelcastInstance( config ); }