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

TestInjection.waitForInSyncWithLeader should keep retrying after connection issues

    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
          Tomás Fernández Löbbe

          Activity

            People

            • Assignee:
              tomasflobbe Tomás Fernández Löbbe
              Reporter:
              tomasflobbe Tomás Fernández Löbbe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: