Skip to content

Commit

Permalink
MB-49512: Don't run STItemPagerTest for nexus
Browse files Browse the repository at this point in the history
Nothing here should be backend specific and nexus runtimes are
contributing towards timeouts in this testsuite.

Change-Id: I17b2f01b0e96969289c21fdfed466cd9f6c4b02c
Reviewed-on: https://review.couchbase.org/c/kv_engine/+/170666
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
  • Loading branch information
BenHuddleston committed Feb 15, 2022
1 parent 5ae473d commit 8fa87af
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions engines/ep/tests/module_tests/evp_store_single_threaded_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,21 @@ class STParameterizedBucketTest
);
}

static auto allConfigValuesNoNexus() {
using namespace std::string_literals;
return ::testing::Values(
std::make_tuple("ephemeral"s, "auto_delete"s),
std::make_tuple("ephemeral"s, "fail_new_data"),
std::make_tuple("persistent_couchstore"s, "value_only"s),
std::make_tuple("persistent_couchstore"s, "full_eviction"s)
#ifdef EP_USE_MAGMA
,
std::make_tuple("persistent_magma"s, "value_only"s),
std::make_tuple("persistent_magma"s, "full_eviction"s)
#endif
);
}

static auto ephAndCouchstoreConfigValues() {
using namespace std::string_literals;
return ::testing::Values(
Expand Down
2 changes: 1 addition & 1 deletion engines/ep/tests/module_tests/item_pager_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ TEST_P(STFullEvictionNoBloomFilterPagerTest, TempDeletedNotExpired) {

INSTANTIATE_TEST_SUITE_P(EphemeralOrPersistent,
STItemPagerTest,
STParameterizedBucketTest::allConfigValues(),
STParameterizedBucketTest::allConfigValuesNoNexus(),
STParameterizedBucketTest::PrintToStringParamName);

INSTANTIATE_TEST_SUITE_P(EphemeralOrPersistent,
Expand Down

0 comments on commit 8fa87af

Please sign in to comment.