Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
      None
    • Sprint:
      Search|S03 Sprint 17| 6.8-29, Search|S03 Sprint 18|6.29-7.20, Search|S03 Sprint 19|7.21-8.10, Search|S03 Sprint 20 | 8.10-31

      Description

      Prerequisite: Use branch from LPS-115774 to update ES to 7.7, then run tests with "gw test ---tests [testname]".

      Description:
      When running the following tests in portal-search-elasticsearch7-impl, the STANDARD_OUT outputs errors but tests finish successfully.

      com.liferay.portal.search.elasticsearch7.internal.cluster.ReplicasManagerImplTest.testSystemCompanyIndexIsReplicatedAndMigrated
      com.liferay.portal.search.elasticsearch7.internal.cluster.Cluster2InstancesTest.testExpandAndShrink
      com.liferay.portal.search.elasticsearch7.internal.cluster.Cluster2InstancesTest.test2Nodes1PrimaryShard
      com.liferay.portal.search.elasticsearch7.internal.cluster.ClusterUnicastTest.testSplitBrainPreventedEvenIfMasterLeaves

      The outputs generally take this form:

      [2020-06-18T15:48:55,429][WARN ][o.e.c.NodeConnectionsService] [Cluster2InstancesTest-Node-2]failed to connect to {Cluster2InstancesTest-Node-1}{lXfQuhRKRE6ESF_FyVMk8w}{3_aY88M8Qm65RfYTcJeQJQ}{127.0.0.1}{127.0.0.1:9310}{dimr} (tried [1] times)
          org.elasticsearch.transport.ConnectTransportException: [Cluster2InstancesTest-Node-1][127.0.0.1:9310] connect_exception

      Full logs of the tests are attached.

      Expected Result: Determine if these test are actually passing and/or if changes should be made to fix or avoid the STANDARD_OUT confusing output.

        Attachments

          Activity

            People

            Assignee:
            joshua.cords Joshua Cords
            Reporter:
            joshua.cords Joshua Cords
            Recent user:
            Joshua Cords
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              42 weeks, 2 days ago

                Packages

                Version Package