lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Kirilchuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5067) TestReplicationHandler doTestReplicateAfterWrite2Slave bad test
Date Tue, 23 Jul 2013 10:16:49 GMT
Vadim Kirilchuk created SOLR-5067:
-------------------------------------

             Summary: TestReplicationHandler doTestReplicateAfterWrite2Slave bad test
                 Key: SOLR-5067
                 URL: https://issues.apache.org/jira/browse/SOLR-5067
             Project: Solr
          Issue Type: Bug
          Components: replication (java)
            Reporter: Vadim Kirilchuk


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. (Previously Thread.sleep(n)
was used here)

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message