Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4807

IOTest.BufferedRead writes to the current directory

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            yongtang Yong Tang
            bbannier Benjamin Bannier
            Joris Van Remoortere Joris Van Remoortere
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: