Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
10.1.0.Final
-
None
-
None
Description
Configuring two remote caches with hotrod and CacheMode.INVALIDATION_SYNC using InfinispanServerRule, populate cache1, cache2 should contain size=0, but all cache1 is being replicated to cache2.
RemoteCache<String, String> cache1 = SERVER_TEST.hotrod().withServerConfiguration(builder).withClientConfiguration(clientBuilder1).create(); RemoteCache<String, String> cache2 = SERVER_TEST.hotrod().withServerConfiguration(builder).withClientConfiguration(clientBuilder2).create(); cache1.put("key", "value"); assertEquals("value", cache1.get("key")); assertEquals(1, cache1.size()); assertEquals(0, cache2.size()); // is failling