Skip to content

Commit 3c15b33

Browse files
Sriram Ganesandaverigby
authored andcommitted
MB-28685: Expand ep_testsuite full eviction tests to passive mode
As part of expanding the ep_testsuite to work in different compression modes, support full eviction tests in passive mode Change-Id: Ic32098f7d293eb92936e87a995b72c8e098d69cd Reviewed-on: http://review.couchbase.org/95461 Well-Formed: Build Bot <[email protected]> Tested-by: Build Bot <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
1 parent e499bd3 commit 3c15b33

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

engines/ep/CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,16 @@ if (COUCHBASE_KV_BUILD_UNIT_TESTS)
591591
COMMAND ${_cmdline} -v -e "compression_mode=off$<SEMICOLON>dbname=./${name}.value_eviction.comp_off.db")
592592
ADD_TEST(NAME ${name}.value_eviction.comp_passive
593593
COMMAND ${_cmdline} -v -e "compression_mode=passive$<SEMICOLON>dbname=./${name}.value_eviction.comp_passive.db")
594-
ADD_TEST(NAME ${name}.full_eviction
595-
COMMAND ${_cmdline} -v -e "item_eviction_policy=full_eviction$<SEMICOLON>dbname=./${name}.full_eviction.db")
594+
ADD_TEST(NAME ${name}.full_eviction.comp_off
595+
COMMAND ${_cmdline} -v -e "compression_mode=off$<SEMICOLON>item_eviction_policy=full_eviction\
596+
$<SEMICOLON>dbname=./${name}.full_eviction.comp_off.db")
597+
ADD_TEST(NAME ${name}.full_eviction.comp_passive
598+
COMMAND ${_cmdline} -v -e "compression_mode=passive$<SEMICOLON>item_eviction_policy=full_eviction\
599+
$<SEMICOLON>dbname=./${name}.full_eviction.comp_passive.db")
596600
SET_TESTS_PROPERTIES(${name}.value_eviction.comp_off PROPERTIES TIMEOUT ${timeout})
597601
SET_TESTS_PROPERTIES(${name}.value_eviction.comp_passive PROPERTIES TIMEOUT ${timeout})
598-
SET_TESTS_PROPERTIES(${name}.full_eviction PROPERTIES TIMEOUT ${timeout})
602+
SET_TESTS_PROPERTIES(${name}.full_eviction.comp_off PROPERTIES TIMEOUT ${timeout})
603+
SET_TESTS_PROPERTIES(${name}.full_eviction.comp_passive PROPERTIES TIMEOUT ${timeout})
599604

600605
IF (NOT arg_SKIP_EPHEMERAL)
601606
ADD_TEST(NAME ${name}.ephemeral

0 commit comments

Comments
 (0)