[ https://issues.apache.org/jira/browse/SOLR-13189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755410#comment-16755410 ]
Hoss Man commented on SOLR-13189: --------------------------------- {quote}As currently written, this test will fail very easily... {quote} To clarify, the test as _uploaded_ already has the TestInjection line commented out with a {{nocommit}} ... so it should reliably pass for anyone. remove nocommit and allow the {{TestInjection.failReplicaRequests}} to beset, and it should start failing very easily. > Need reliable example (Test) of how to use TestInjection.failReplicaRequests > ---------------------------------------------------------------------------- > > Key: SOLR-13189 > URL: https://issues.apache.org/jira/browse/SOLR-13189 > Project: Solr > Issue Type: Sub-task > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Hoss Man > Priority: Major > Attachments: SOLR-13189.patch > > > We need a test that reliably demonstrates the usage of > {{TestInjection.failReplicaRequests}} and shows what steps a test needs to > take after issuing updates to reliably "pass" (finding all index updates that > succeeded from the clients perspective) even in the event of an (injected) > replica failure. > As things stand now, it does not seem that any test using > {{TestInjection.failReplicaRequests}} passes reliably -- *and it's not clear > if this is due to poorly designed tests, or an indication of a bug in > distributed updates / LIR* -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org