]
Galder Zamarreño commented on ISPN-1386:
----------------------------------------
A very simple solution would be to leave MERGE out except in those tests that require
MERGE. This shouldn't cause any issues in the testsuite because TEST_PING is
deterministic in finding nodes and it's not really necessary to have MERGE as
protection net for random situations in real life where nodes will only find each other
after a MERGE.
Nodes stopping can be merged without a reduced view being installed
-------------------------------------------------------------------
Key: ISPN-1386
URL:
https://issues.jboss.org/browse/ISPN-1386
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Labels: TEST_PING
Fix For: 5.1.0.ALPHA2
Attachments: tibt.log
The attached log is showing a test failure because a view is not stablished with the two
remaining nodes:
{code}2011-09-14 13:01:15,124 ERROR (testng-TopologyInfoBroadcastTest)
[org.infinispan.test.fwk.UnitTestTestNGListener] Method
testNodeLeaves(org.infinispan.distribution.topologyaware.TopologyInfoBroadcastTest) threw
an exception
java.lang.RuntimeException: Timed out before caches had complete views. Expected 2
members in each view. Views are as follows:
[[TopologyInfoBroadcastTest-NodeA-20211(s0), TopologyInfoBroadcastTest-NodeB-32215(s1),
TopologyInfoBroadcastTest-NodeC-36650(s2)],
[TopologyInfoBroadcastTest-NodeA-20211(s0), TopologyInfoBroadcastTest-NodeB-32215(s1),
TopologyInfoBroadcastTest-NodeC-36650(s2)]]
{code}
Having glanced some TRACE logs captured by Dan, it would appear that as NodeB is shutting
down, TEST_PING finds it as a sole cluster member and finds another cluster formed of
NodeA,NodeC, leading to a merge. This is somehow stopping a correct 2-node view being
installed.
Needs further investigation
--
This message is automatically generated by JIRA.
For more information on JIRA, see: