From 4984986f927166cbbd354fd0801809f41c159b07 Mon Sep 17 00:00:00 2001 From: Valentin Balaschenko <13349202+vlntb@users.noreply.github.com> Date: Tue, 7 Jul 2026 15:19:18 +0100 Subject: [PATCH] return back old comment --- src/tests/libxrpl/basics/TaggedCache.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tests/libxrpl/basics/TaggedCache.cpp b/src/tests/libxrpl/basics/TaggedCache.cpp index 17a86c8637..9ded975cc5 100644 --- a/src/tests/libxrpl/basics/TaggedCache.cpp +++ b/src/tests/libxrpl/basics/TaggedCache.cpp @@ -16,6 +16,16 @@ namespace xrpl { +/* +I guess you can put some items in, make sure they're still there. Let some +time pass, make sure they're gone. Keep a strong pointer to one of them, make +sure you can still find it even after time passes. Create two objects with +the same key, canonicalize them both and make sure you get the same object. +Put an object in but keep a strong pointer to it, advance the clock a lot, +then canonicalize a new object with the same key, make sure you get the +original object. +*/ + TEST(TaggedCacheTest, tagged_cache) { using namespace std::chrono_literals;