You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gabriele Kahlout (JIRA)" <ji...@apache.org> on 2011/05/23 21:39:48 UTC

[jira] [Issue Comment Edited] (LUCENE-3111) TestFSTs.testRandomWords failure

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

Gabriele Kahlout edited comment on LUCENE-3111 at 5/23/11 7:37 PM:
-------------------------------------------------------------------

@rmuir: Why was this committed to the 3_X branch, and not only to the trunk, as r 1104527?

Also, sorry for my ignorance, but why is it needed? Isn't there an 'inheritance/abstract/template method pattern' way to achive the same?  
All I know is that it now breaks my Solr tests[1].

[1] https://issues.apache.org/jira/browse/SOLR-2537?focusedCommentId=13038085&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13038085
Steps to reproduce:
{code}
svn co -r 1126620 http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/
cd branch_3x; ant get-maven-poms; mvn -N -Pbootstrap install; mvn -DskipTests install
wget http://dp4j.sf.net/debug/embeddedServerTest.zip
unzip embeddedServerTest.zip
cd embeddedServerTest; mvn test
{code}

      was (Author: simpatico):
    @rmuir: Why was this committed to the 3_X branch, and not only to the trunk, as r 1104527?

Also, sorry for my ignorance, but why is it needed? All I know is that it now breaks my Solr tests[1].

[1] https://issues.apache.org/jira/browse/SOLR-2537?focusedCommentId=13038085&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13038085
Steps to reproduce:
{code}
svn co -r 1126620 http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/
cd branch_3x; ant get-maven-poms; mvn -N -Pbootstrap install; mvn -DskipTests install
wget http://dp4j.sf.net/debug/embeddedServerTest.zip
unzip embeddedServerTest.zip
cd embeddedServerTest; mvn test
{code}
  
> TestFSTs.testRandomWords failure
> --------------------------------
>
>                 Key: LUCENE-3111
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3111
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: selckin
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3111.patch
>
>
> Was running some while(1) tests on the docvalues branch (r1103705) and the following test failed:
> {code}
>     [junit] Testsuite: org.apache.lucene.util.automaton.fst.TestFSTs
>     [junit] Testcase: testRandomWords(org.apache.lucene.util.automaton.fst.TestFSTs):	FAILED
>     [junit] expected:<771> but was:<TwoLongs:771,771>
>     [junit] junit.framework.AssertionFailedError: expected:<771> but was:<TwoLongs:771,771>
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs$FSTTester.verifyUnPruned(TestFSTs.java:540)
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs$FSTTester.doTest(TestFSTs.java:496)
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs$FSTTester.doTest(TestFSTs.java:359)
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs.doTest(TestFSTs.java:319)
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs.testRandomWords(TestFSTs.java:940)
>     [junit] 	at org.apache.lucene.util.automaton.fst.TestFSTs.testRandomWords(TestFSTs.java:915)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1282)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1211)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 7.628 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: Ignoring nightly-only test method 'testBigSet'
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestFSTs -Dtestmethod=testRandomWords -Dtests.seed=-269475578956012681:0
>     [junit] NOTE: test params are: codec=PreFlex, locale=ar, timezone=America/Blanc-Sablon
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestToken, TestCodecs, TestIndexReaderReopen, TestIndexWriterMerging, TestNoDeletionPolicy, TestParallelReaderEmptyIndex, TestParallelTermEnum, TestPerSegmentDeletes, TestSegmentReader, TestSegmentTermDocs, TestStressAdvance, TestTermVectorsReader, TestSurrogates, TestMultiFieldQueryParser, TestAutomatonQuery, TestBooleanScorer, TestFuzzyQuery, TestMultiTermConstantScore, TestNumericRangeQuery64, TestPositiveScoresOnlyCollector, TestPrefixFilter, TestQueryTermVector, TestScorerPerf, TestSloppyPhraseQuery, TestSpansAdvanced, TestWindowsMMap, TestRamUsageEstimator, TestSmallFloat, TestUnicodeUtil, TestFSTs]
>     [junit] NOTE: Linux 2.6.37-gentoo amd64/Sun Microsystems Inc. 1.6.0_25 (64-bit)/cpus=8,threads=1,free=137329960,total=208207872
>     [junit] ------------- ---------------- ---------------
>     [junit] TEST org.apache.lucene.util.automaton.fst.TestFSTs FAILED
> {code}
> I am not able to reproduce

--
This message is automatically generated by JIRA.
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