Benjamin Bannier created MESOS-4807:
---------------------------------------
Summary: 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
Priority: Minor
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)