summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/cppsuite/tests
diff options
context:
space:
mode:
authorEtienne Petrel <etienne.petrel@mongodb.com>2021-12-21 06:20:18 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-21 07:25:59 +0000
commit4a07aa30df0f675673cb2fdb1aeb7eb24af457d1 (patch)
tree05eaabb71bee7f7b56008a3542141b2f300e1e1a /src/third_party/wiredtiger/test/cppsuite/tests
parent72643ec8e86ce68fe32a025588b5338441476a2a (diff)
downloadmongo-4a07aa30df0f675673cb2fdb1aeb7eb24af457d1.tar.gz
Import wiredtiger: efd9d9adf2af4d68383868c4bd5e156b19bca99b from branch mongodb-master
ref: ae980839bb..efd9d9adf2 for: 5.3.0 WT-8481 Split cppsuite search near tests and update their logging levels
Diffstat (limited to 'src/third_party/wiredtiger/test/cppsuite/tests')
-rw-r--r--src/third_party/wiredtiger/test/cppsuite/tests/search_near_01.cxx4
-rw-r--r--src/third_party/wiredtiger/test/cppsuite/tests/search_near_03.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/test/cppsuite/tests/search_near_01.cxx b/src/third_party/wiredtiger/test/cppsuite/tests/search_near_01.cxx
index 08eefb5bfaa..dccc53a08bf 100644
--- a/src/third_party/wiredtiger/test/cppsuite/tests/search_near_01.cxx
+++ b/src/third_party/wiredtiger/test/cppsuite/tests/search_near_01.cxx
@@ -185,7 +185,7 @@ class search_near_01 : public test_harness::test {
/* Generate search prefix key of random length between a -> zzz. */
srch_key = random_generator::instance().generate_random_string(
srchkey_len, characters_type::ALPHABET);
- logger::log_msg(LOG_INFO,
+ logger::log_msg(LOG_TRACE,
"Search near thread {" + std::to_string(tc->id) +
"} performing prefix search near with key: " + srch_key);
@@ -278,7 +278,7 @@ class search_near_01 : public test_harness::test {
tc->stat_cursor, WT_STAT_CONN_CURSOR_NEXT_SKIP_LT_100, &entries_stat);
runtime_monitor::get_stat(
tc->stat_cursor, WT_STAT_CONN_CURSOR_SEARCH_NEAR_PREFIX_FAST_PATHS, &prefix_stat);
- logger::log_msg(LOG_INFO,
+ logger::log_msg(LOG_TRACE,
"Read thread skipped entries: " + std::to_string(entries_stat - prev_entries_stat) +
" prefix early exit: " +
std::to_string(prefix_stat - prev_prefix_stat - z_key_searches));
diff --git a/src/third_party/wiredtiger/test/cppsuite/tests/search_near_03.cxx b/src/third_party/wiredtiger/test/cppsuite/tests/search_near_03.cxx
index 2286c87d334..fc660a97155 100644
--- a/src/third_party/wiredtiger/test/cppsuite/tests/search_near_03.cxx
+++ b/src/third_party/wiredtiger/test/cppsuite/tests/search_near_03.cxx
@@ -243,7 +243,7 @@ class search_near_03 : public test_harness::test {
random_index = random_generator::instance().generate_integer(
static_cast<size_t>(0), prefixes_map.at(coll.id).size() - 1);
prefix_key = get_prefix_from_key(prefixes_map.at(coll.id).at(random_index));
- logger::log_msg(LOG_INFO,
+ logger::log_msg(LOG_TRACE,
type_string(tc->type) +
" thread: Perform unique index insertions with existing prefix key " + prefix_key +
".");