lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Transient TestIndexWriterMergePolicy failure under IntelliJ
Date Tue, 07 Sep 2010 09:18:19 GMT
Thanks for reporting Steven!

This is LUCENE-2118, striking again, taunting me.  This particular
failure bugs me!!

Mike

On Mon, Sep 6, 2010 at 8:10 PM, Steven A Rowe <sarowe@syr.edu> wrote:
> While testing changes for LUCENE-2611, I saw TestIndexWriterMergePolicy.testMaxBufferedDocsChange()
fail, but I wasn't able to replicate it either from IntelliJ or from Ant after adding the
seed to the newRandom() call in TestIndexWriterMergePolicy.setUp().
>
> Environment: Sun JDK 1.6.0_13, Windows Vista, both 64-bit; IntelliJ IDEA 9.0.3.
>
> When I saw this error, I was running two modules' tests in parallel from IntelliJ, and
was working on adding "tempDir" sysprop setting to test invocations from IntelliJ, so the
probability that there was something weird about my local setup is non-trivial.
>
> Here is the output from IntelliJ:
>
> -----
> NOTE: random codec of testcase 'testMaxBufferedDocsChange' was: MockSep
> NOTE: random locale of testcase 'testMaxBufferedDocsChange' was: en_PH
> NOTE: random timezone of testcase 'testMaxBufferedDocsChange' was: America/Indianapolis
> NOTE: random seed of testcase 'testMaxBufferedDocsChange' was: 4118460220441676374
>
> junit.framework.AssertionFailedError: maxMergeDocs=2147483647; numSegments=11; upperBound=10;
mergeFactor=10; segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32
_5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 _62:c1->_32
_63:c9->_62
>        at org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:251)
>        at org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:177)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:395)
>        at org.apache.lucene.util.LuceneTestCase.run(LuceneTestCase.java:387)
>        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>        at org.junit.runners.Suite.runChild(Suite.java:128)
>        at org.junit.runners.Suite.runChild(Suite.java:24)
>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>        at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
>        at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:94)
>        at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:192)
>        at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
> -----
>
> Steve
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message