aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore-test/zenstore-test.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-02-26 19:08:27 +0100
committerGitHub <[email protected]>2024-02-26 19:08:27 +0100
commit8672d2235e73545abde15f075934f68495adeaf3 (patch)
tree421443b0eb76910c612bb219354a9306081cca10 /src/zenstore-test/zenstore-test.cpp
parentadding context to http.sys error message (diff)
downloadzen-8672d2235e73545abde15f075934f68495adeaf3.tar.xz
zen-8672d2235e73545abde15f075934f68495adeaf3.zip
hashing fixes (#657)
* move structuredcachestore tests to zenstore-test * Don't materialize entire files when hashing if it is a large files * rewrite CompositeBuffer::Mid to never materialize buffers
Diffstat (limited to 'src/zenstore-test/zenstore-test.cpp')
-rw-r--r--src/zenstore-test/zenstore-test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenstore-test/zenstore-test.cpp b/src/zenstore-test/zenstore-test.cpp
index 6ef311324..c301c04a3 100644
--- a/src/zenstore-test/zenstore-test.cpp
+++ b/src/zenstore-test/zenstore-test.cpp
@@ -3,6 +3,7 @@
#include <zencore/filesystem.h>
#include <zencore/logging.h>
#include <zencore/zencore.h>
+#include <zenstore/cache/structuredcachestore.h>
#include <zenstore/zenstore.h>
#include <zenutil/zenutil.h>
@@ -23,6 +24,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
#if ZEN_WITH_TESTS
zen::zenstore_forcelinktests();
zen::zenutil_forcelinktests();
+ zen::structured_cachestore_forcelink();
zen::logging::InitializeLogging();
zen::MaximizeOpenFileCount();