diff options
| author | Dan Engelbrecht <[email protected]> | 2023-11-10 16:12:59 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-10 16:12:59 +0100 |
| commit | fa7c53b1dec7254bf793e7c0df82eb486a7490a5 (patch) | |
| tree | 4eb9e8885231eb8364a7ec22d75b2f5a9626dca0 /src/zenutil/zenserverprocess.cpp | |
| parent | reduce memory footprint for bucket indexes (#526) (diff) | |
| download | zen-fa7c53b1dec7254bf793e7c0df82eb486a7490a5.tar.xz zen-fa7c53b1dec7254bf793e7c0df82eb486a7490a5.zip | |
fix bad access to unlocked state (#527)
* don't touch non-locked data when creating manifest
* safety assert for test dir
Diffstat (limited to 'src/zenutil/zenserverprocess.cpp')
| -rw-r--r-- | src/zenutil/zenserverprocess.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenutil/zenserverprocess.cpp b/src/zenutil/zenserverprocess.cpp index b1666ad0a..83c6668ba 100644 --- a/src/zenutil/zenserverprocess.cpp +++ b/src/zenutil/zenserverprocess.cpp @@ -438,6 +438,7 @@ ZenServerEnvironment::CreateNewTestDir() TestDir << "test"sv << int64_t(++ZenServerTestCounter); std::filesystem::path TestPath = m_TestBaseDir / TestDir.c_str(); + ZEN_ASSERT(!std::filesystem::exists(TestPath)); ZEN_INFO("Creating new test dir @ '{}'", TestPath); |