You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2012/09/19 13:20:07 UTC

[jira] [Updated] (LUCENE-4397) TestIndexWriterWithThreads.testRollbackAndCommitWithThreads is sometimes very very slow

     [ https://issues.apache.org/jira/browse/LUCENE-4397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss updated LUCENE-4397:
--------------------------------

    Attachment: LUCENE-4397.patch

It's weird, the variance on this test is indeed very high. I think it may have something to do with the fact that it spins many threads (that do i/o) so if you're running on a multicore and there are other parallel jvms running tests you're putting a load on the hardware. If ran in isolation things get much faster (for me).

I've replaced some of the random() calls with the non-asserting random; I see some difference but not that much.
                
> TestIndexWriterWithThreads.testRollbackAndCommitWithThreads is sometimes very very slow
> ---------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4397
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4397
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/test
>            Reporter: Robert Muir
>         Attachments: LUCENE-4397.patch
>
>
> e.g. ant test -Dtestcase=TestIndexWriterWithThreads -Dtests.seed=C9BE919B1BE0DAC7

--
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