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

Shai Erera commented on LUCENE-3269:
------------------------------------

I see what got you confused (it was me, not you):

{quote}
however, if they will run in the same JVM, then they will reuse the already 
created indexes
{quote}

what I wrote is wrong (I got myself confused (!) -- whatever you do in 
beforeClass affects only that testcase, not all the ones that will run in the 
JVM. Perhaps JUnit need to invent two more concepts @StartJVM and @EndJVM, for 
this to happen :)
                
> Speed up Top-K sampling tests
> -----------------------------
>
>                 Key: LUCENE-3269
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3269
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: modules/facet
>            Reporter: Robert Muir
>            Assignee: Shai Erera
>             Fix For: 3.5, 4.0
>
>         Attachments: LUCENE-3269.patch, LUCENE-3269.patch, LUCENE-3269.patch, 
> LUCENE-3269.patch
>
>
> speed up the top-k sampling tests (but make sure they are thorough on nightly 
> etc still)
> usually we would do this with use of atLeast(), but these tests are somewhat 
> tricky,
> so maybe a different approach is needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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