libpmemobj-cpp
libpmemobj-cpp copied to clipboard
Add concurrent_hash_map concurrent defrag test
Add concurrent_hash_map concurrent defrag test
Right now, defragment() method in concurrent_hash_map relies on the fact that segments are not disabled (reallocated concurrently). We should add a test for running defragment() and erase() concurrently to make sure we do not have any regressions.
I am getting these errors. Any suggestions will be appreciated.
make[2]: *** [tests/CMakeFiles/concurrent_hash_map_tx.dir/build.make:105: tests/concurrent_hash_map_tx] Error 1 make[1]: *** [CMakeFiles/Makefile2:3897: tests/CMakeFiles/concurrent_hash_map_tx.dir/all] Error 2 make: *** [Makefile:160: all] Error 2
@TUTanaya, can you please paste the whole CMake and make output?