Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5067

TestReplicationHandler doTestReplicateAfterWrite2Slave bad test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • replication (java)
    • None

    Description

      Hi,

      TestReplicationHandler#doTestReplicateAfterWrite2Slave has some commented code which actually performs necessary assertions.

      https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java

      While these assertions commented out it checks nothing. Also as index fetching starts in a new thread it's worth to perform fetchindex with 'wait' parameter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vkirilchuk Vadim Kirilchuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: