geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-1369) ConfigCommandsDUnitTest should use TemporaryFolder
Date Mon, 22 Aug 2016 16:57:26 GMT

     [ https://issues.apache.org/jira/browse/GEODE-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anthony Baker closed GEODE-1369.
--------------------------------

> 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
>             Fix For: 1.0.0-incubating.M3
>
>
> 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)

Mime
View raw message