[
https://issues.apache.org/jira/browse/SOLR-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-4629:
---------------------------
Attachment:
SOLR-4629_emptycommittest_and_numfoundrefactor_and_waitparam.patch
with the last patch, i was seeing a lot of failures from checkForSingleIndex in
doTestStressReplication when i hammered on the tests.
Discussing with miller on IRC, our theory was that this was another situation
where the core reload (because of conf file changes) wasn't happening fast
enough, the check was seeing both the old and new directories during the core
reload.
Based on this theory, i added the same watchCoreStartAt logic to
doTestStressReplication -- but i'm still seeing checkForSingleIndex fail
because 3 index dirs are found instead of 2, and in most cases the seeds seem
to fail consistently.
even w/ hammering the tests with multiple threads, this seed (using hte
attached patch against trunk r1464110) consistently fails for me...
{noformat}
[junit4:junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestReplicationHandler -Dtests.method=doTestStressReplication
-Dtests.seed=F431DE409B18D684 -Dtests.slow=true -Dtests.locale=no_NO_NY
-Dtests.timezone=Europe/Minsk -Dtests.file.encoding=UTF-8
[junit4:junit4] FAILURE 10.7s | TestReplicationHandler.doTestStressReplication
<<<
[junit4:junit4] > Throwable #1: java.lang.AssertionError:
[./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1365034992030/slave/collection1/data/index.20130404032320911,
./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1365034992030/slave/collection1/data/index.20130404032314898,
./org.apache.solr.handler.TestReplicationHandler$SolrInstance-1365034992030/slave/collection1/data]
expected:<2> but was:<3>
[junit4:junit4] > at
__randomizedtesting.SeedInfo.seed([F431DE409B18D684:2F9ADE869E30BF37]:0)
[junit4:junit4] > at
org.apache.solr.handler.TestReplicationHandler.checkForSingleIndex(TestReplicationHandler.java:813)
[junit4:junit4] > at
org.apache.solr.handler.TestReplicationHandler.doTestStressReplication(TestReplicationHandler.java:787)
{noformat}
[[email protected]]: can you sanity check this latest patch and try that
seed? if that seed passes for you (try hammering the tests with "ant test
-Dtestcase=TestReplicationHandler -Dtests.dups=10 -Dtests.jvms=5")
> Stronger standard replication testing.
> --------------------------------------
>
> Key: SOLR-4629
> URL: https://issues.apache.org/jira/browse/SOLR-4629
> Project: Solr
> Issue Type: Test
> Components: replication (java)
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.3, 5.0, 4.2.1
>
> Attachments:
> SOLR-4629_emptycommittest_and_numfoundrefactor_and_waitparam.patch,
> SOLR-4629_emptycommittest_and_numfoundrefactor_and_waitparam.patch,
> SOLR-4629_emptycommittest_and_numfoundrefactor_and_waitparam.patch
>
>
> I added to these tests recently, but there is a report on the list indicating
> we may still be missing something. Most reports have been positive so far
> after the 4.2 fixes, but I'd feel better after adding some more testing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]