Mike Drob created SOLR-15032:
--------------------------------

             Summary: Race condition in TestPullReplicaErrorHandling
                 Key: SOLR-15032
                 URL: https://issues.apache.org/jira/browse/SOLR-15032
             Project: Solr
          Issue Type: Test
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Tests
            Reporter: Mike Drob


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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to