You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/09 20:02:00 UTC

[jira] [Updated] (GEODE-5035) Some tests use incorrect temp directory

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

ASF GitHub Bot updated GEODE-5035:
----------------------------------
    Labels: pull-request-available  (was: )

> Some tests use incorrect temp directory
> ---------------------------------------
>
>                 Key: GEODE-5035
>                 URL: https://issues.apache.org/jira/browse/GEODE-5035
>             Project: Geode
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Michael Dodge
>            Assignee: Michael Dodge
>            Priority: Major
>              Labels: pull-request-available
>
> Some tests that use {{JUnit}}'s {{TemporaryFolder}} rule (e.g., {{DiskSpaceLimitIntegrationTest}} {{FileProcessControllerIntegrationTest}}) do not specify the temp directory to use as the parent folder for the temporary folder. This can result in the default location being used, which is different from what is specified by the pipeline. This can result in strange behavior, such as a test writing contents to a temporary file without exception but then failing an existence test on the same file.
> The {{TemporaryFolder}} rule should be synchronized with the {{java.io.tmpdir}} system property.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)