lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4397) TestIndexWriterWithThreads.testRollbackAndCommitWithThreads is sometimes very very slow
Date Wed, 19 Sep 2012 11:20:07 GMT

     [ 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


Mime
View raw message