-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The test fails this way:
FAILED: testManualClusterSwitch on org.infinispan.client.hotrod.xsite.SiteManualSwitchTest@300be1c
1: java.lang.AssertionError: expected:<1> but was:<0>
1: at org.infinispan.client.hotrod.xsite.AbstractHotRodSiteFailoverTest.assertSiteHit(AbstractHotRodSiteFailoverTest.java:148)
1: at org.infinispan.client.hotrod.xsite.SiteManualSwitchTest.assertSingleSiteHit(SiteManualSwitchTest.java:48)
1: at org.infinispan.client.hotrod.xsite.SiteManualSwitchTest.testManualClusterSwitch(SiteManualSwitchTest.java:42)
1: at org.infinispan.client.hotrod.JavaClientTests.main(JavaClientTests.java:94)
1: ... Removed 23 stack frames
The failure happens after .switchToDefaultCluster is called and the request is supposed to go to the primary cluster.
The test is prepared here: https://github.com/mgencur/cpp-client/commit/3da5ab503cf222cb7870eb7bfb7a094667ba6e8b