kou commented on code in PR #46283:
URL: https://github.com/apache/arrow/pull/46283#discussion_r2070945897
##########
cpp/src/parquet/encryption/two_level_cache_with_expiration_test.cc:
##########
@@ -114,6 +114,14 @@ TEST_F(TwoLevelCacheWithExpirationTest, CleanupPeriodOk) {
// lifetime2 is not expired and still contains 2 items.
auto lifetime2 = cache_.GetOrCreateInternalCache("lifetime2", 3);
ASSERT_EQ(lifetime2->size(), 2);
+
+ // The further process is added to test whether the timestamp is set
correctly.
+ // CheckCheckCacheForExpiredTokens() should be called at least twice to
verify the
Review Comment:
```suggestion
// CheckCacheForExpiredTokens() should be called at least twice to verify
the
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]