Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Mesosphere Sprint 30
-
2
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
- relates to
-
MESOS-4042 LevelDBStateTest suite fails in virtual box shared folder.
- Resolved