Fixed error in TcpDiscoveryMultiThreadedTest.testCustomEventOnJoinCoordinatorStop.
@@ -110,6 +110,8 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
+ cfg.setConsistentId(igniteInstanceName);
+
UUID id = nodeId.get();
if (id != null) {
@@ -514,11 +516,13 @@ public class TcpDiscoveryMultiThreadedTest extends GridCommonAbstractTest {
IgniteInternalFuture<?> fut1 = GridTestUtils.runAsync(new Callable<Void>() {
@Override public Void call() throws Exception {
- CacheConfiguration ccfg = new CacheConfiguration(DEFAULT_CACHE_NAME);
+ String cacheName = DEFAULT_CACHE_NAME + "-tmp";
Ignite ignite = ignite(START_NODES - 1);
while (!stop.get()) {
+ CacheConfiguration ccfg = new CacheConfiguration(cacheName);
+
ignite.createCache(ccfg);
ignite.destroyCache(ccfg.getName());
