]
Galder Zamarreño updated ISPN-3742:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha4
Resolution: Done
StateTransferReplicationQueueTest random failures
-------------------------------------------------
Key: ISPN-3742
URL:
https://issues.jboss.org/browse/ISPN-3742
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 6.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Labels: testsuite_stability
Fix For: 7.0.0.Alpha4
The writer thread in StateTransferReplicationQueueTest is too fast, and sometimes it
generates so many writes that it takes more than 5 seconds for the second node to apply
all of them.
We should use a much smaller limit for the replication queue, and the test should wait
until all the commands have been replicated instead of using an arbitrary timeout.