Skip to content

Commit 23814eb

Browse files
committed
MB-40915: Reactivate disabled tests for magma
Change-Id: I928231129c2b87b8b0a5c88341bf813d04798a8f Reviewed-on: http://review.couchbase.org/c/kv_engine/+/156543 Reviewed-by: Dave Rigby <[email protected]> Tested-by: Richard de Mellow <[email protected]>
1 parent ceb9422 commit 23814eb

File tree

2 files changed

+18
-21
lines changed

2 files changed

+18
-21
lines changed

engines/ep/tests/ep_testsuite.cc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8431,7 +8431,7 @@ BaseTestCase testsuite_testcases[] = {
84318431
"chk_max_items=500;"
84328432
"chk_remover_stime=1;"
84338433
"max_num_shards=4;"
8434-
"max_size=6291456",
8434+
"max_size=10000000",
84358435
// TODO RDB: This test requires full control and accurate
84368436
// tracking on how memory is allocated by the underlying
84378437
// store. We do not have that yet for RocksDB. Depending
@@ -8442,8 +8442,7 @@ BaseTestCase testsuite_testcases[] = {
84428442
// 'vb_active_perc_mem_resident' stat never goes below the
84438443
// threshold we expect. Needs to resize 'max_size' to consider
84448444
// RocksDB pre-allocations.
8445-
// TODO magma: similar issue with magma
8446-
prepare_skip_broken_under_rocks_and_magma,
8445+
prepare_skip_broken_under_rocks,
84478446
cleanup),
84488447
TestCase("test set_param message",
84498448
test_set_param_message,
@@ -9035,7 +9034,7 @@ BaseTestCase testsuite_testcases[] = {
90359034
teardown,
90369035
nullptr,
90379036
// TODO RDB: Implement RocksDBKVStore::getNumPersistedDeletes
9038-
// TODO magma: need to add support for persisted deletes
9037+
// Magma: no plans to support persisted deletes
90399038
prepare_skip_broken_under_rocks_and_magma,
90409039
cleanup),
90419040

@@ -9280,7 +9279,7 @@ BaseTestCase testsuite_testcases[] = {
92809279
test_setup,
92819280
teardown,
92829281
nullptr,
9283-
// magma has no support for upgrades
9282+
// magma has no support for upgrades at this time
92849283
prepare_skip_broken_under_magma,
92859284
cleanup),
92869285

@@ -9291,7 +9290,7 @@ BaseTestCase testsuite_testcases[] = {
92919290
// Set a fixed number of shards for stats checking.
92929291
"max_num_shards=4",
92939292
// TODO RDB: Needs to fix some missing/unexpected stats
9294-
// magma has no support for upgrades
9293+
// Magma has no support for upgrades at this time
92959294
prepare_skip_broken_under_rocks_and_magma,
92969295
cleanup),
92979296

@@ -9320,8 +9319,8 @@ BaseTestCase testsuite_testcases[] = {
93209319
teardown,
93219320
nullptr,
93229321
// TODO RDB: Needs the 'ep_item_commit_failed' stat
9323-
// TODO magma: Need to add magma functionality similar
9324-
// to couchstore specific functionality used by test
9322+
// Magma: This test does not apply to magma because magma
9323+
// does not close/reopen files while an instance is active.
93259324
prepare_ep_bucket_skip_broken_under_rocks_and_magma,
93269325
cleanup),
93279326
TestCase("test_MB-test_mb20943_remove_pending_ops_on_vbucket_delete",
@@ -9337,8 +9336,8 @@ BaseTestCase testsuite_testcases[] = {
93379336
teardown,
93389337
nullptr,
93399338
// TODO RDB: Needs the 'vb_active_ops_reject' stat
9340-
// TODO magma: Need to add magma functionality similar
9341-
// to couchstore specific functionality used by test
9339+
// Magma: Error injection for magma is done as part of
9340+
// the magma unit tests.
93429341
prepare_ep_bucket_skip_broken_under_rocks_and_magma,
93439342
cleanup),
93449343

@@ -9362,8 +9361,8 @@ BaseTestCase testsuite_testcases[] = {
93629361
test_setup,
93639362
teardown,
93649363
nullptr,
9365-
// TODO magma: Need to add magma functionality similar
9366-
// to couchstore specific functionality used by test
9364+
// TODO Magma: Magma does not support updating the
9365+
// data store without going through magma instance.
93679366
prepare_ep_bucket_skip_broken_under_rocks_and_magma,
93689367
cleanup),
93699368

@@ -9373,7 +9372,7 @@ BaseTestCase testsuite_testcases[] = {
93739372
teardown,
93749373
nullptr,
93759374
// couchstore only issue - so skip magma and rocks
9376-
prepare_ep_bucket_skip_broken_under_rocks_and_magma,
9375+
prepare_ep_bucket_skip_broken_under_rocks,
93779376
cleanup),
93789377

93799378
TestCase("test_mb38031_illegal_json_throws",
@@ -9390,7 +9389,8 @@ BaseTestCase testsuite_testcases[] = {
93909389
test_setup,
93919390
teardown,
93929391
nullptr,
9393-
// The test logic assumes that the KV BloomFilter is enabled,
9392+
// TODO: The test logic assumes that the KV BloomFilter is
9393+
// enabled,
93949394
// but it is currently disabled for Magma
93959395
prepare_ep_bucket_skip_broken_under_magma,
93969396
cleanup),

engines/ep/tests/ep_testsuite_dcp.cc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8534,8 +8534,7 @@ BaseTestCase testsuite_testcases[] = {
85348534
// TODO RDB: Cannot store any item
85358535
// (cb::engine_errc::no_memory). Needs to resize 'max_size' to
85368536
// consider RocksDB pre-allocations.
8537-
// TODO magma: Need to recalc for magma
8538-
prepare_skip_broken_under_rocks_and_magma,
8537+
prepare_skip_broken_under_rocks,
85398538
cleanup),
85408539
TestCase("test dcp cursor dropping (replication)",
85418540
test_dcp_cursor_dropping_replication,
@@ -8561,8 +8560,7 @@ BaseTestCase testsuite_testcases[] = {
85618560
// TODO RDB: Cannot store any item
85628561
// (cb::engine_errc::no_memory). Needs to resize 'max_size' to
85638562
// consider RocksDB pre-allocations.
8564-
// TODO magma: Need to recalc for magma
8565-
prepare_skip_broken_under_rocks_and_magma,
8563+
prepare_skip_broken_under_rocks,
85668564
cleanup),
85678565
TestCase("test dcp cursor dropping backfill",
85688566
test_dcp_cursor_dropping_backfill,
@@ -8574,7 +8572,7 @@ BaseTestCase testsuite_testcases[] = {
85748572
"cursor_dropping_lower_mark=60;cursor_dropping_upper_mark=70;"
85758573
"chk_remover_stime=1;max_size=6291456;chk_max_items=8000;"
85768574
"chk_period=1;max_num_shards=4",
8577-
prepare_skip_broken_under_rocks_and_magma,
8575+
prepare_skip_broken_under_rocks,
85788576
cleanup),
85798577
TestCase("test dcp stream takeover",
85808578
test_dcp_takeover,
@@ -8679,8 +8677,7 @@ BaseTestCase testsuite_testcases[] = {
86798677
// TODO RDB: Intermittently failing with SegFault.
86808678
// Probably we have to implement getItemCount. Needs the
86818679
// 'vb_replica_curr_items' stat.
8682-
// TODO: magma needs collections support
8683-
prepare_skip_broken_under_rocks_and_magma,
8680+
prepare_skip_broken_under_rocks,
86848681
cleanup),
86858682
TestCase("test partial rollback on consumer",
86868683
test_partialrollback_for_consumer,

0 commit comments

Comments
 (0)