Hi,

When running "ant test" in trunk/solr folder, it (almost always) fails with:

[junit] junit.framework.AssertionFailedError: should find 5 query failed XPath: 
//result[@numFound=5]

Reason is it finds only 4 docs, the failing test line being:
org.apache.solr.update.AutoCommitTest.testSoftCommitMaxDocs(AutoCommitTest.java:311)

However, when re-producing the test as instructed, the test always passes:
ant test -Dtestcase=AutoCommitTest -Dtestmethod=testSoftCommitMaxDocs 
-Dtests.seed=3dfe5189161d5bbf:4cbb4b945c80733b:-21bbb941a15f0984
The same when re-running the test suite
ant test -Dtestcase=AutoCommitTest

But when I then do an "ant test" again it fails on the same test method.

I have done ant clean on top-level as well as svn up multiple times.
My HW is MBP, MacOs Lion, Java 1.6.0_26, ant 1.8.2.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com


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

Reply via email to