summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorIrina Yatsenko <irina.yatsenko@mongodb.com>2021-05-28 18:57:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-15 18:51:48 +0000
commit99b82261d146f49687977237f0d010c0a7b957cf (patch)
treee689e246a06fbdcd0364f458a8a05e96b52af714 /src/mongo/dbtests
parent6abf79a4a8ae87059fb6a1fdc14d34a4bc59d1ff (diff)
downloadmongo-99b82261d146f49687977237f0d010c0a7b957cf.tar.gz
SERVER-57265 Migrate tests for deprecated op codes from jstest to C++ integration
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/querytests.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp
index 26153a3e9dc..9d7b0cae262 100644
--- a/src/mongo/dbtests/querytests.cpp
+++ b/src/mongo/dbtests/querytests.cpp
@@ -1932,14 +1932,12 @@ public:
<< "capped" << true << "size" << 8192),
info));
_client.insert(ns(), BSON("ts" << Timestamp(1000, 0)));
- Message message;
- assembleQueryRequest(ns(),
- BSON("ts" << GTE << Timestamp(1000, 0)),
- 0,
- 0,
- nullptr,
- QueryOption_CursorTailable | QueryOption_Exhaust,
- message);
+ Message message = makeQueryMessage(ns(),
+ BSON("ts" << GTE << Timestamp(1000, 0)),
+ 0,
+ 0,
+ nullptr,
+ QueryOption_CursorTailable | QueryOption_Exhaust);
DbMessage dbMessage(message);
QueryMessage queryMessage(dbMessage);
Message result;