[ 
https://issues.apache.org/jira/browse/SOLR-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-1469:
-------------------------------

    Attachment: SOLR-1469.patch

OK, here's a patch that fixes some issues.
- To avoid the commit() in setUp() causing an unwanted replication event, it 
now first queries the master and if  there are any docs it deletes the index on 
the master and waits for that to replicate to the slave.
- I moved testReplicateAfterWrite2Slave up in the file so it will run before 
anything that changes the default server configs (this gets around the problem 
where it was only replicating on startup)
- I added some test code at the end of  testReplicateAfterWrite2Slave to ensure 
that the correct index was replicated

> TestReplicationHandler failure
> ------------------------------
>
>                 Key: SOLR-1469
>                 URL: https://issues.apache.org/jira/browse/SOLR-1469
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: fail1.txt, SOLR-1469.patch, 
> TestReplicationHandler.FAILED.210743
>
>
> TestReplicationHandler seems to fail often.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to