geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <>
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
             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("");
  File vm1ConfigFile = new File("VM1-cache.xml");
  File vm1PropsFile = new File("");
  File vm2ConfigFile = new File("VM2-cache.xml");
  File vm2PropsFile = new File("");
  File shellConfigFile = new File("Shell-cache.xml");
  File shellPropsFile = new File("");
  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

View raw message