lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-6090) Fix unreachable printLayout usage in cloud test
Date Mon, 19 May 2014 08:02:37 GMT
Shalin Shekhar Mangar created SOLR-6090:
-------------------------------------------

             Summary: Fix unreachable printLayout usage in cloud test
                 Key: SOLR-6090
                 URL: https://issues.apache.org/jira/browse/SOLR-6090
             Project: Solr
          Issue Type: Task
          Components: SolrCloud, Tests
            Reporter: Shalin Shekhar Mangar
            Priority: Minor
             Fix For: 4.9, 5.0


Many cloud tests have a DEBUG instance variable e.g.
{code}
private static final boolean DEBUG = false;
{code}
and
{code}
if (DEBUG) {
      super.printLayout();
}
{code}
I cannot find where this variable is set to true so the printLayout is never actually printed.

We need to review and fix all such tests:
# BasicDistributedZKTest.doTest
# CollectionsAPIAsyncDistributedZkTest.doTest
# CollectionsAPIDistributedZkTest
# CustomCollectionTest
# UnloadDistributedZkTest

This is not an exhaustive list.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message