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

Race condition in TestPullReplicaErrorHandling

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tests

    Description

      See discussion at https://github.com/apache/lucene-solr/pull/2115#discussion_r534445545

      There is a race condition in two tests in TestPullReplicaErrorHandling where we expire a ZK session, then wait for a node down and a node up. It's possible that the node recovers before we even start waiting for the first down.

      Better would be to set a watch on the live-node that we're about to expire, and wait to see the delete before checking for the node to come back up.

      cc: tflobbe

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: