[ 
https://issues.apache.org/jira/browse/LUCENE-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542604#comment-13542604
 ] 

Robert Muir commented on LUCENE-4653:
-------------------------------------

{noformat}
} catch (ThreadInterruptedException re) {
-          if (true || VERBOSE) {
+          if (VERBOSE) 
{noformat}

Lets add a comment about this print. 

Normally prints should be disabled in code, but this one is fantastic because 
this test currently never reproduces.
When it fails having this lets us see where the interrupts happened and 
possibly spot the bug without having to find a supercomputer.

                
> Make TestIndexWriter.testThreadInterruptDeadlock meaner
> -------------------------------------------------------
>
>                 Key: LUCENE-4653
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4653
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>         Attachments: LUCENE-4653.patch
>
>
> Just tweaking the test to also call w.updateDocument (so we sometimes apply 
> deletes) (Rob's idea) causes all sorts of fun failures ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to