diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-10-10 15:20:17 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2022-10-10 15:21:24 +0000 |
commit | ab10d27bd029f73d82dabd1f3fdb839edae29e61 (patch) | |
tree | bab1c9ca156af7d94b3583d6244a1c09c72e2a81 /searchcore/src/tests/proton/documentmetastore | |
parent | 08f7a121fff008dd1307b106bd1b7d7a84433fe6 (diff) |
Implement GenerationHolder in terms of the generic generation hold list.
Diffstat (limited to 'searchcore/src/tests/proton/documentmetastore')
-rw-r--r-- | searchcore/src/tests/proton/documentmetastore/lid_allocator/lid_allocator_test.cpp | 2 | ||||
-rw-r--r-- | searchcore/src/tests/proton/documentmetastore/lid_state_vector/lid_state_vector_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentmetastore/lid_allocator/lid_allocator_test.cpp b/searchcore/src/tests/proton/documentmetastore/lid_allocator/lid_allocator_test.cpp index 2d675e82db2..157d10e6652 100644 --- a/searchcore/src/tests/proton/documentmetastore/lid_allocator/lid_allocator_test.cpp +++ b/searchcore/src/tests/proton/documentmetastore/lid_allocator/lid_allocator_test.cpp @@ -28,7 +28,7 @@ protected: ~LidAllocatorTest() { - _gen_hold.clearHoldLists(); + _gen_hold.reclaim_all(); } uint32_t get_size() { return _allocator.getActiveLids().size(); } diff --git a/searchcore/src/tests/proton/documentmetastore/lid_state_vector/lid_state_vector_test.cpp b/searchcore/src/tests/proton/documentmetastore/lid_state_vector/lid_state_vector_test.cpp index ab45cca0971..68958bbe3e4 100644 --- a/searchcore/src/tests/proton/documentmetastore/lid_state_vector/lid_state_vector_test.cpp +++ b/searchcore/src/tests/proton/documentmetastore/lid_state_vector/lid_state_vector_test.cpp @@ -22,7 +22,7 @@ protected: ~LidStateVectorTest() { - _gen_hold.clearHoldLists(); + _gen_hold.reclaim_all(); } }; |