Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12626

TestInjection.waitForInSyncWithLeader should keep retrying after connection issues

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: Tests
    • Labels:
      None

      Description

      waitForInSyncWithLeader currently returns "false" making asserts fail when an exception is thrown while checking if the core is in sync with the leader. This can cause things like the leader being down (i.e. in ChaosMonkey tests) to fail asserts in followers. Instead, we should continue iterating the remaining amount of times.

        Attachments

        1. SOLR-12626.patch
          3 kB
          Tomas Eduardo Fernandez Lobbe

          Activity

            People

            • Assignee:
              tflobbe Tomas Eduardo Fernandez Lobbe
              Reporter:
              tflobbe Tomas Eduardo Fernandez Lobbe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: