lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Updated] (SOLR-4629) Stronger standard replication testing.
Date Thu, 04 Apr 2013 00:35:17 GMT


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...

[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,
expected:<2> but was:<3>
[junit4:junit4]    > 	at __randomizedtesting.SeedInfo.seed([F431DE409B18D684:2F9ADE869E30BF37]:0)
[junit4:junit4]    > 	at org.apache.solr.handler.TestReplicationHandler.checkForSingleIndex(
[junit4:junit4]    > 	at org.apache.solr.handler.TestReplicationHandler.doTestStressReplication(

[]: 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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message