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

ASF subversion and git services commented on GEODE-1369:
--------------------------------------------------------

Commit f93c87f13b4bf1bda67d994587d1299163694772 in incubator-geode's branch 
refs/heads/feature/GEODE-1370 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=f93c87f ]

GEODE-1369: change ConfigCommandsDUnitTest to use TemporaryFolder

* use TemporaryFolder for all disk files
* re-enable testAlterUpdatesSharedConfig (might be a FlakyTest) -- was disabled 
for TRAC #52204 but it passes
* use static imports


> 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)

Reply via email to