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

TestInjection.waitForInSyncWithLeader should keep retrying after connection issues

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • Tests
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: