You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/01/03 01:38:23 UTC

[jira] [Commented] (LUCENE-4653) Make TestIndexWriter.testThreadInterruptDeadlock meaner

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org