Chris M. Hostetter created SOLR-14184:
-----------------------------------------

             Summary: replace DirectUpdateHandler2.commitOnClose with something 
in TestInjection
                 Key: SOLR-14184
                 URL: https://issues.apache.org/jira/browse/SOLR-14184
             Project: Solr
          Issue Type: Test
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Chris M. Hostetter
            Assignee: Chris M. Hostetter


{code:java}
public static volatile boolean commitOnClose = true;  // TODO: make this a real 
config option or move it to TestInjection
{code}

Lots of tests muck with this (to simulate unclean shutdown and force tlog 
replay on restart) but there's no garuntee that it is reset properly.

It should be replaced by logic in {{TestInjection}} that is correctly cleaned 
up by {{TestInjection.reset()}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to