[
https://issues.apache.org/jira/browse/MESOS-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yong Tang reassigned MESOS-4807:
--------------------------------
Assignee: Yong Tang
> IOTest.BufferedRead writes to the current directory
> ---------------------------------------------------
>
> Key: MESOS-4807
> URL: https://issues.apache.org/jira/browse/MESOS-4807
> Project: Mesos
> Issue Type: Bug
> Components: libprocess, test
> Reporter: Benjamin Bannier
> Assignee: Yong Tang
> Priority: Minor
> Labels: newbie, parallel-tests
>
> libprocess's {{IOTest.BufferedRead}} writes to the current directory. This is
> bad for a number of reasons, e.g.,
> * should the test fail data might be leaked to random locations,
> * the test cannot be executed from a write-only directory, or
> * executing the same test in parallel would race on the existence of the
> created file, and show bogus behavior.
> The test should probably be executed from a temporary directory, e.g., via
> stout's {{TemporaryDirectoryTest}} fixture.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)