[
https://issues.apache.org/jira/browse/SOLR-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150248#comment-13150248
]
Yonik Seeley commented on SOLR-2895:
------------------------------------
bq. I don't see how this test can ever be reliable. We call
commitTracker.addedDocument( cmd.commitWithin ); before the document is passed
to the IndexWriter... no surprise this fails all the time.
Ah, nice catch! It didn't matter in the past, but it became a bug with the
recent removal of Solr's synchronization (i.e. so adds and commits aren't
mutually exclusive anymore). So at least this isn't a bug in 3x or before.
> AutoCommitTest.maxDocs fails intermittently on trunk
> ----------------------------------------------------
>
> Key: SOLR-2895
> URL: https://issues.apache.org/jira/browse/SOLR-2895
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Mac OS X
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
> Trunk 1201462
> Reporter: Erick Erickson
>
> ant clean test -Dtestcase=AutoCommitTest -Dtestmethod=testMaxDocs
> -Dtests.seed=50ccee7e682c1673:-5043acd3fdf2c09f:123d82991d063e29
> -Dargs="-Dfile.encoding=MacRoman"
> This fails for me 40% of the time or so. Also fails with -Dtests.iter.
> Set tests.iter=1000 on 3x and no problem.
> Don't quite know what the priority should be.
--
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]