use different instance name to avoid collision
Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
parent
4147e3734e
commit
9cb4742897
|
@ -41,7 +41,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 );
|
||||
}
|
||||
|
|
|
@ -45,7 +45,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 );
|
||||
}
|
||||
|
|
|
@ -69,7 +69,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 );
|
||||
}
|
||||
|
|
|
@ -42,7 +42,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 );
|
||||
}
|
||||
|
|
|
@ -42,7 +42,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 );
|
||||
}
|
||||
|
|
|
@ -41,7 +41,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 );
|
||||
}
|
||||
|
|
|
@ -44,7 +44,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 );
|
||||
}
|
||||
|
|
|
@ -42,7 +42,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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue