[ 
https://issues.apache.org/jira/browse/SOLR-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736019#comment-15736019
 ] 

Mike Drob commented on SOLR-9839:
---------------------------------

Sorry for being unclear. The patch file I posted would automatically include a 
commit message if applied using {{git am}}. That commit message was the one I 
meant.

> 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
>         Attachments: SOLR-9839.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to