]
Galder Zamarreño updated ISPN-1567:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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: