[ https://issues.apache.org/jira/browse/MESOS-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15179508#comment-15179508 ]
Yong Tang commented on MESOS-4807: ---------------------------------- Added Review Request: https://reviews.apache.org/r/44380/ > 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)