@@ -2522,24 +2522,12 @@ BaseTestCase testsuite_testcases[] = {
25222522 * isMetaOnly not return value */
25232523 prepare_skip_broken_under_rocks,
25242524 cleanup),
2525- TestCase (" get meta deleted" ,
2526- test_get_meta_deleted,
2527- test_setup,
2528- teardown,
2529- NULL ,
2530- /* TODO RDB: Enable after implementing persisted tombstones */
2531- prepare_skip_broken_under_rocks,
2532- cleanup),
2525+ TestCase (" get meta deleted" , test_get_meta_deleted,
2526+ test_setup, teardown, NULL , prepare, cleanup),
25332527 TestCase (" get meta nonexistent" , test_get_meta_nonexistent,
25342528 test_setup, teardown, NULL , prepare, cleanup),
2535- TestCase (" get meta followed by get" ,
2536- test_get_meta_with_get,
2537- test_setup,
2538- teardown,
2539- NULL ,
2540- /* TODO RDB: Enable after implementing persisted tombstones */
2541- prepare_skip_broken_under_rocks,
2542- cleanup),
2529+ TestCase (" get meta followed by get" , test_get_meta_with_get,
2530+ test_setup, teardown, NULL , prepare, cleanup),
25432531 TestCase (" get meta followed by set" ,
25442532 test_get_meta_with_set,
25452533 test_setup,
@@ -2548,14 +2536,8 @@ BaseTestCase testsuite_testcases[] = {
25482536 /* TODO RDB: implement getItemCount */
25492537 prepare_skip_broken_under_rocks,
25502538 cleanup),
2551- TestCase (" get meta followed by delete" ,
2552- test_get_meta_with_delete,
2553- test_setup,
2554- teardown,
2555- NULL ,
2556- /* TODO RDB: Enable after implementing persisted tombstones */
2557- prepare_skip_broken_under_rocks,
2558- cleanup),
2539+ TestCase (" get meta followed by delete" , test_get_meta_with_delete,
2540+ test_setup, teardown, NULL , prepare, cleanup),
25592541 TestCase (" get meta with xattr" ,
25602542 test_get_meta_with_xattr,
25612543 test_setup,
@@ -2573,16 +2555,14 @@ BaseTestCase testsuite_testcases[] = {
25732555 test_setup,
25742556 teardown,
25752557 nullptr ,
2576- /* TODO RDB: Enable after implementing persisted tombstones */
2577- prepare_skip_broken_under_rocks,
2558+ prepare,
25782559 cleanup),
25792560 TestCase (" delete with meta nonexistent" ,
25802561 test_delete_with_meta_nonexistent,
25812562 test_setup,
25822563 teardown,
25832564 nullptr ,
2584- /* TODO RDB: Enable after implementing persisted tombstones */
2585- prepare_skip_broken_under_rocks,
2565+ prepare,
25862566 cleanup),
25872567 TestCase (" delete with meta nonexistent no temp" ,
25882568 test_delete_with_meta_nonexistent_no_temp,
@@ -2592,21 +2572,11 @@ BaseTestCase testsuite_testcases[] = {
25922572 prepare,
25932573 cleanup),
25942574 TestCase (" delete_with_meta race with concurrent delete" ,
2595- test_delete_with_meta_race_with_delete,
2596- test_setup,
2597- teardown,
2598- NULL ,
2599- /* TODO RDB: Enable after implementing persisted tombstones */
2600- prepare_skip_broken_under_rocks,
2601- cleanup),
2575+ test_delete_with_meta_race_with_delete, test_setup,
2576+ teardown, NULL , prepare, cleanup),
26022577 TestCase (" delete_with_meta race with concurrent set" ,
2603- test_delete_with_meta_race_with_set,
2604- test_setup,
2605- teardown,
2606- NULL ,
2607- /* TODO RDB: Enable after implementing persisted tombstones */
2608- prepare_skip_broken_under_rocks,
2609- cleanup),
2578+ test_delete_with_meta_race_with_set, test_setup,
2579+ teardown, NULL , prepare, cleanup),
26102580 TestCase (" set with meta" ,
26112581 test_set_with_meta,
26122582 test_setup,
@@ -2634,44 +2604,28 @@ BaseTestCase testsuite_testcases[] = {
26342604 prepare_skip_broken_under_rocks,
26352605 cleanup),
26362606 TestCase (" set_with_meta race with concurrent set" ,
2637- test_set_with_meta_race_with_set,
2638- test_setup,
2639- teardown,
2640- NULL ,
2641- /* TODO RDB: Enable after implementing persisted tombstones */
2642- prepare_skip_broken_under_rocks,
2643- cleanup),
2607+ test_set_with_meta_race_with_set, test_setup,
2608+ teardown, NULL , prepare, cleanup),
26442609 TestCase (" set_with_meta race with concurrent delete" ,
2645- test_set_with_meta_race_with_delete,
2646- test_setup,
2647- teardown,
2648- NULL ,
2649- /* TODO RDB: Enable after implementing persisted tombstones */
2650- prepare_skip_broken_under_rocks,
2651- cleanup),
2652- TestCase (" test set_with_meta exp persisted" ,
2653- test_exp_persisted_set_del,
2654- test_setup,
2655- teardown,
2656- " exp_pager_stime=3" ,
2657- /* TODO RDB: Enable after implementing persisted tombstones */
2658- prepare_ep_bucket_skip_broken_under_rocks, // Requires persistence
2610+ test_set_with_meta_race_with_delete, test_setup,
2611+ teardown, NULL , prepare, cleanup),
2612+ TestCase (" test set_with_meta exp persisted" , test_exp_persisted_set_del,
2613+ test_setup, teardown, " exp_pager_stime=3" ,
2614+ prepare_ep_bucket, // Requires persistence
26592615 cleanup),
26602616 TestCase (" test del meta conflict resolution" ,
26612617 test_del_meta_conflict_resolution,
26622618 test_setup,
26632619 teardown,
26642620 nullptr ,
2665- /* TODO RDB: Enable after implementing persisted tombstones */
2666- prepare_skip_broken_under_rocks,
2621+ prepare,
26672622 cleanup),
26682623 TestCase (" test add meta conflict resolution" ,
26692624 test_add_meta_conflict_resolution,
26702625 test_setup,
26712626 teardown,
26722627 NULL ,
2673- /* TODO RDB: Enable after implementing persisted tombstones */
2674- prepare_skip_broken_under_rocks,
2628+ prepare,
26752629 cleanup),
26762630 TestCase (" test set meta conflict resolution" ,
26772631 test_set_meta_conflict_resolution, test_setup, teardown, NULL ,
@@ -2681,8 +2635,7 @@ BaseTestCase testsuite_testcases[] = {
26812635 test_setup,
26822636 teardown,
26832637 " conflict_resolution_type=lww" ,
2684- /* TODO RDB: Enable after implementing persisted tombstones */
2685- prepare_skip_broken_under_rocks,
2638+ prepare,
26862639 cleanup),
26872640 TestCase (" test set meta lww conflict resolution" ,
26882641 test_set_meta_lww_conflict_resolution, test_setup, teardown,
@@ -2712,9 +2665,7 @@ BaseTestCase testsuite_testcases[] = {
27122665 test_setup,
27132666 teardown,
27142667 " exp_pager_stime=1" ,
2715- /* related to temp items in hash table */
2716- /* TODO RDB: Enable after implementing persisted tombstones */
2717- prepare_ep_bucket_skip_broken_under_rocks,
2668+ /* related to temp items in hash table */ prepare_ep_bucket,
27182669 cleanup),
27192670 TestCase (" test get_meta with item_eviction" ,
27202671 test_getMeta_with_item_eviction, test_setup, teardown,
@@ -2757,14 +2708,8 @@ BaseTestCase testsuite_testcases[] = {
27572708 test_cas_options_and_nmeta, test_setup, teardown,
27582709 " conflict_resolution_type=seqno" ,
27592710 prepare, cleanup),
2760- TestCase (" getMetaData mb23905" ,
2761- test_get_meta_mb23905,
2762- test_setup,
2763- teardown,
2764- nullptr ,
2765- /* TODO RDB: Enable after implementing persisted tombstones */
2766- prepare_ep_bucket_skip_broken_under_rocks,
2767- cleanup),
2711+ TestCase (" getMetaData mb23905" , test_get_meta_mb23905,
2712+ test_setup, teardown, nullptr , prepare_ep_bucket, cleanup),
27682713 TestCase (NULL , NULL , NULL , NULL , NULL , prepare, cleanup)
27692714};
27702715
0 commit comments