geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-1369) ConfigCommandsDUnitTest should use TemporaryFolder
Date Mon, 09 May 2016 20:35:12 GMT
Kirk Lund created GEODE-1369:
--------------------------------

             Summary: 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


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