summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/querytests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/querytests.cpp')
-rw-r--r--src/mongo/dbtests/querytests.cpp38
1 files changed, 7 insertions, 31 deletions
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp
index 0114a3563d5..6e74f6c1571 100644
--- a/src/mongo/dbtests/querytests.cpp
+++ b/src/mongo/dbtests/querytests.cpp
@@ -57,9 +57,9 @@
namespace {
namespace QueryTests {
-using std::unique_ptr;
using std::endl;
using std::string;
+using std::unique_ptr;
using std::vector;
class Base {
@@ -234,8 +234,7 @@ public:
bool ok = cl.runCommand("unittests",
BSON("godinsert"
<< "querytests"
- << "obj"
- << BSONObj()),
+ << "obj" << BSONObj()),
info);
ASSERT(ok);
@@ -650,12 +649,7 @@ public:
_client.runCommand("unittests",
BSON("create"
<< "querytests.TailableQueryOnId"
- << "capped"
- << true
- << "size"
- << 8192
- << "autoIndexId"
- << true),
+ << "capped" << true << "size" << 8192 << "autoIndexId" << true),
info);
insertA(ns, 0);
insertA(ns, 1);
@@ -1537,12 +1531,7 @@ public:
_client.runCommand("local",
BSON("create"
<< "oplog.querytests.findingstart"
- << "capped"
- << true
- << "size"
- << 4096
- << "autoIndexId"
- << false),
+ << "capped" << true << "size" << 4096 << "autoIndexId" << false),
info);
// WiredTiger storage engines forbid dropping of the oplog. Evergreen reuses nodes for
// testing, so the oplog may already exist on the test node; in this case, trying to create
@@ -1611,12 +1600,7 @@ public:
_client.runCommand("local",
BSON("create"
<< "oplog.querytests.findingstart"
- << "capped"
- << true
- << "size"
- << 4096
- << "autoIndexId"
- << false),
+ << "capped" << true << "size" << 4096 << "autoIndexId" << false),
info);
// WiredTiger storage engines forbid dropping of the oplog. Evergreen reuses nodes for
// testing, so the oplog may already exist on the test node; in this case, trying to create
@@ -1690,12 +1674,7 @@ public:
_client.runCommand("local",
BSON("create"
<< "oplog.querytests.findingstart"
- << "capped"
- << true
- << "size"
- << 4096
- << "autoIndexId"
- << false),
+ << "capped" << true << "size" << 4096 << "autoIndexId" << false),
info);
// WiredTiger storage engines forbid dropping of the oplog. Evergreen reuses nodes for
// testing, so the oplog may already exist on the test node; in this case, trying to create
@@ -1792,10 +1771,7 @@ public:
ASSERT(_client.runCommand("unittests",
BSON("create"
<< "querytests.exhaust"
- << "capped"
- << true
- << "size"
- << 8192),
+ << "capped" << true << "size" << 8192),
info));
_client.insert(ns(), BSON("ts" << Timestamp(1000, 0)));
Message message;