You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Simon Willnauer <si...@googlemail.com> on 2011/11/12 03:20:36 UTC

TestAutoCommit failure

I ran into those autocommit issues often is there an issue for this?

[junit] Testsuite: org.apache.solr.update.AutoCommitTest
    [junit] Testcase: testMaxDocs(org.apache.solr.update.AutoCommitTest):	FAILED
    [junit] should find one query failed XPath: //result[@numFound=1]
    [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int
name="QTime">10</int></lst><result name="response" numFound="0"
start="0"></result>
    [junit] </response>
    [junit]
    [junit]  request was: start=0&q=id:14&qt=standard&rows=20&version=2.2
    [junit] junit.framework.AssertionFailedError: should find one
query failed XPath: //result[@numFound=1]
    [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int
name="QTime">10</int></lst><result name="response" numFound="0"
start="0"></result>
    [junit] </response>
    [junit]
    [junit]  request was: start=0&q=id:14&qt=standard&rows=20&version=2.2
    [junit] 	at
org.apache.solr.util.AbstractSolrTestCase.assertQ(AbstractSolrTestCase.java:260)
    [junit] 	at
org.apache.solr.update.AutoCommitTest.testMaxDocs(AutoCommitTest.java:181)
    [junit] 	at
org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:523)
    [junit] 	at
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
    [junit] 	at
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
    [junit]
    [junit]
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 11.014 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=AutoCommitTest
-Dtestmethod=testMaxDocs
-Dtests.seed=-3a06d5487bed2426:1463a8e1bb161dab:-6660d9a6af41df57
-Dargs="-Dfile.encoding=MacRoman"
    [junit] NOTE: test params are: codec=Lucene40: {},
sim=RandomSimilarityProvider(queryNorm=true,coord=false): {},
locale=ga_IE, timezone=America/Argentina/Ushuaia
    [junit] NOTE: all tests run in this JVM:
    [junit] [OutputWriterTest, SnowballPorterFilterFactoryTest,
TestCollationKeyFilterFactory, TestFrenchMinimalStemFilterFactory,
TestHungarianLightStemFilterFactory, TestLatvianStemFilterFactory,
TestPersianNormalizationFilterFactory, TestReverseStringFilterFactory,
TestStopFilterFactory, TestWikipediaTokenizerFactory,
ZkSolrClientTest, SOLR749Test, TestJmxMonitoredMap,
TestSolrDeletionPolicy2, TestCSVLoader, SystemInfoHandlerTest,
TermsComponentTest, TestPHPSerializedResponseWriter,
NumericFieldsTest, TestLRUCache, TestSort, SortByFunctionTest,
TestLMJelinekMercerSimilarityFactory, DirectSolrSpellCheckerTest,
SuggesterTSTTest, AutoCommitTest]
    [junit] NOTE: Mac OS X 10.6.8 x86_64/Apple Inc. 1.6.0_26
(64-bit)/cpus=2,threads=1,free=59905712,total=85000192
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.update.AutoCommitTest FAILED

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