Skip to content

Commit 1f1f244

Browse files
committed
MB-59357: Fix test_dcp_producer_disk_backfill_buffer_limits failures
Change-Id: I649b4f0ca246fd56436cc655e996b6dd6a354a01 Reviewed-on: https://review.couchbase.org/c/kv_engine/+/199745 Well-Formed: Restriction Checker Reviewed-by: Trond Norbye <[email protected]> Tested-by: Paolo Cocchi <[email protected]>
1 parent 424b513 commit 1f1f244

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

engines/ep/tests/ep_testsuite_dcp.cc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8283,11 +8283,16 @@ BaseTestCase testsuite_testcases[] = {
82838283
test_dcp_producer_disk_backfill_buffer_limits,
82848284
test_setup,
82858285
teardown,
8286-
/* Set buffer size to a very low value (less than the size
8287-
of a mutation) */
8286+
// - Set buffer size to a very low value (less than the size
8287+
// of a mutation)
8288+
// - Disable ItemExpel. The test verifies some condition by
8289+
// looking at the number of removed checkpoints for memory
8290+
// recovery. If ItemExpel kicks in before checkpoint removal,
8291+
// then the test fails.
82888292
"dcp_backfill_byte_limit=1;chk_remover_stime=1;"
82898293
"chk_max_items=3;checkpoint_memory_recovery_upper_mark=0;"
8290-
"checkpoint_memory_recovery_lower_mark=0",
8294+
"checkpoint_memory_recovery_lower_mark=0;chk_expel_enabled="
8295+
"false",
82918296
prepare,
82928297
cleanup),
82938298
TestCase("test producer stream request (memory only)",

0 commit comments

Comments
 (0)