libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

Add concurrent_hash_map concurrent defrag test

Open igchor opened this issue 5 years ago • 2 comments

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.

igchor avatar Sep 24 '20 13:09 igchor

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 avatar Sep 27 '20 20:09 TUTanaya

@TUTanaya, can you please paste the whole CMake and make output?

lukaszstolarczuk avatar Sep 28 '20 07:09 lukaszstolarczuk