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

LevelDBStateTests write to the current directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.28.0
    • test

    Description

      All LevelDBStateTest tests write 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 tests from the same suite in parallel (e.g., with gtest-parallel would race on the existence of the created files, and show bogus behavior.

      The tests should probably be executed from a temporary directory, e.g., via stout's TemporaryDirectoryTest fixture.

      Attachments

        Issue Links

          Activity

            People

              bbannier Benjamin Bannier
              bbannier Benjamin Bannier
              Till Toenshoff Till Toenshoff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: