lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-9839) Use 'useFactory' in tests instead of setting manually
Date Wed, 07 Dec 2016 22:46:58 GMT
Mike Drob created SOLR-9839:
-------------------------------

             Summary: Use 'useFactory' in tests instead of setting manually
                 Key: SOLR-9839
                 URL: https://issues.apache.org/jira/browse/SOLR-9839
             Project: Solr
          Issue Type: Test
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Tests
            Reporter: Mike Drob
            Priority: Minor


We have several tests that will explicitly set a directory factory via SysProp, some of which
forget to unset it.

We should use {{useFactory}} so that we can benefit from the call to {{resetFactory}} in {{SolrTestCaseJ4.teardownTestCases}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message