[
https://issues.jboss.org/browse/ISPN-1567?page=com.atlassian.jira.plugin....
]
Jozef Vilkolak commented on ISPN-1567:
--------------------------------------
Also if the problem above happens to be the case then the asserts in createHotRodServers
should probably be changed to consider replication queue because as they are now they
expect the values to be replicated instantly to all caches.
createHotRodServers() from
org.infinispan.client.hotrod.test.MultiHotRodServersTest crashes when using replication
queue
------------------------------------------------------------------------------------------------------------------------
Key: ISPN-1567
URL:
https://issues.jboss.org/browse/ISPN-1567
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 5.1.0.BETA5
Reporter: Jozef Vilkolak
Assignee: Galder ZamarreƱo
Fix For: 5.1.0.CR1
When a class extends MultiHotRodServersTest and tries to use createHotRodServers to
create 2 servers with REPL_ASYNC and useReplQueue configurations, it crashes on the error
message "Use of the replication queue is only allowed with an ASYNCHRONOUS cluster
mode."
{code:xml}
Configuration config = new Configuration().fluent()
.clustering()
.mode(CacheMode.REPL_ASYNC)
.async()
.replQueueInterval(1000L)
.useReplQueue(true)
.eviction()
.maxEntries(3)
.build();
createHotRodServers(2, config);
{code}
I think this happens because in HotRodServer in method createTopologyCacheConfig
REPL_SYNC is set but replication queue is not disabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira