aboutsummaryrefslogtreecommitdiff
path: root/zenstore/filecas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/filecas.cpp')
-rw-r--r--zenstore/filecas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index 1d3542f62..38d7898cf 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -912,7 +912,7 @@ FileCasStrategy::CollectGarbage(GcContext& GcCtx)
if (GcCtx.IsDeletionMode() == false)
{
- ZEN_INFO("NOTE: not actually deleting anything since deletion is disabled");
+ ZEN_DEBUG("NOTE: not actually deleting anything since deletion is disabled");
return;
}
@@ -1050,7 +1050,7 @@ TEST_CASE("cas.file.gc")
{
InsertChunks();
- GcContext Ctx;
+ GcContext Ctx(GcClock::Now() - std::chrono::hours(24));
FileCas.CollectGarbage(Ctx);
for (const IoHash& Key : Keys)
@@ -1066,7 +1066,7 @@ TEST_CASE("cas.file.gc")
{
InsertChunks();
- GcContext Ctx;
+ GcContext Ctx(GcClock::Now() - std::chrono::hours(24));
for (const IoHash& Key : Keys)
{