]
Dan Berindei updated ISPN-6236:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
StateTransferFunctionalTest random failures
-------------------------------------------
Key: ISPN-6236
URL:
https://issues.jboss.org/browse/ISPN-6236
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 8.2.0.Beta2
Reporter: Dan Berindei
Assignee: Dan Berindei
Labels: testsuite_stability
Fix For: 8.2.0.CR1
Since the ISPN-6214 fix, the global components are started when the
{{DefaultCacheManager}} is started. This includes {{LocalTopologyManager}} and
{{ClusterTopologyManager}}, created in the {{GlobalComponentRegistry}} constructor, and
they also pull in the {{Transport}} component.
In {{StateTransferFunctionalTest}} and its subclasses, this means the JGroups channel is
created and joins the cluster before the {{JoiningNode}} registers its view listener.
Because the listener is registered after the view update, it doesn't receive any
notifications, and {{waitForJoin()}} always times out.
We should remove the {{JoiningNode}} class altogether, because merges during initial
cluster formation are practically impossible with our current test setup.