Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-329

SiteManualSwitchTest fails for both C++ and C# clients

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.1.0.Beta1
    • None
    • Core
    • 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

            vrigamon@redhat.com Vittorio Rigamonti
            mgencur Martin Gencur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: