[
https://issues.redhat.com/browse/ISPN-9064?page=com.atlassian.jira.plugin...
]
Dan Berindei commented on ISPN-9064:
------------------------------------
The test is still failing randomly in master, and I have a trace log (attached). The
manual site switch is supposed to set the topology id of all caches to {{-2}}
({{SWITCH_CLUSTER_TOPOLOGY}}), but the test cache's topology sometimes stays valid:
{noformat}
19:15:57,496 DEBUG (testng-Test:[]) [ChannelFactory] Switching to NYC-2, servers:
[127.0.0.1/<unresolved>:37451], setting topology.
19:15:57,496 INFO (testng-Test:[]) [HOTROD] ISPN004052: Manually switched to cluster
'NYC-2'
19:15:57,505 TRACE (testng-Test:[]) [TopologyInfo] Is topology id (5) valid? true
19:15:57,505 TRACE (testng-Test:[]) [SegmentConsistentHash] Find server in segment id 253
for key [B0x2803
19:15:57,522 TRACE (testng-Test:[]) [TopologyInfo] Using consistent hash for determining
the server: Optional[127.0.0.1/<unresolved>:35361]
{noformat}
SiteManualSwitchTest.testManualClusterSwitch randomly fails
-----------------------------------------------------------
Key: ISPN-9064
URL:
https://issues.redhat.com/browse/ISPN-9064
Project: Infinispan
Issue Type: Bug
Components: Remote Protocols
Reporter: Galder Zamarreño
Priority: Major
Labels: testsuite_stability
Attachments:
ISPN-12325_hotrod_test_memory_20200914-1907_SiteManualSwitchTest-infinispan-client-hotrod.log.gz
{code}
java.lang.AssertionError: expected:<1> but was:<0>
at
org.infinispan.client.hotrod.xsite.AbstractHotRodSiteFailoverTest.assertSiteHit(AbstractHotRodSiteFailoverTest.java:146)
at
org.infinispan.client.hotrod.xsite.SiteManualSwitchTest.assertSingleSiteHit(SiteManualSwitchTest.java:47)
at
org.infinispan.client.hotrod.xsite.SiteManualSwitchTest.testManualClusterSwitch(SiteManualSwitchTest.java:37)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)