[
https://issues.apache.org/jira/browse/GEODE-5035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437620#comment-16437620
]
ASF subversion and git services commented on GEODE-5035:
--------------------------------------------------------
Commit 130ed6e36bdb91a68b97a95db3c811f0abaad72c in geode's branch
refs/heads/develop from [~PivotalSarge]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=130ed6e ]
GEODE-5035: Explicitly pass java.io.tmpdir to JVMs invoked by Gradle. (#1779)
- Exclude distributed tests from using java.io.tmpdir as they appear
to need /tmp.
> 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
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)