[
https://issues.apache.org/jira/browse/GEODE-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk Lund reassigned GEODE-1369:
--------------------------------
Assignee: Kirk Lund
> ConfigCommandsDUnitTest should use TemporaryFolder
> --------------------------------------------------
>
> Key: GEODE-1369
> URL: https://issues.apache.org/jira/browse/GEODE-1369
> Project: Geode
> Issue Type: Test
> Components: tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
>
> This test creates a bunch of files in the current working directory of the
> build:
> File managerConfigFile = new File("Manager-cache.xml");
> File managerPropsFile = new File("Manager-gf.properties");
> File vm1ConfigFile = new File("VM1-cache.xml");
> File vm1PropsFile = new File("VM1-gf.properties");
> File vm2ConfigFile = new File("VM2-cache.xml");
> File vm2PropsFile = new File("VM2-gf.properties");
> File shellConfigFile = new File("Shell-cache.xml");
> File shellPropsFile = new File("Shell-gf.properties");
> File subDir = new File("ConfigCommandsDUnitTestSubDir");
> File subManagerConfigFile = new File(subDir, managerConfigFile.getName());
> These should be created in the TemporaryFolder that is in the super class
> CliCommandTestBase.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)