]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/cache/lru_cache_test.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / cache / lru_cache_test.cc
index f777711f147d424be287f443808d087b704904d8..08c05024aefd6c020eab2e3a594073c0fd926a5c 100644 (file)
@@ -37,8 +37,9 @@ class LRUCacheTest : public testing::Test {
 
   void Insert(const std::string& key,
               Cache::Priority priority = Cache::Priority::LOW) {
-    cache_->Insert(key, 0 /*hash*/, nullptr /*value*/, 1 /*charge*/,
-                   nullptr /*deleter*/, nullptr /*handle*/, priority);
+    EXPECT_OK(cache_->Insert(key, 0 /*hash*/, nullptr /*value*/, 1 /*charge*/,
+                             nullptr /*deleter*/, nullptr /*handle*/,
+                             priority));
   }
 
   void Insert(char key, Cache::Priority priority = Cache::Priority::LOW) {