summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-12-19 18:51:34 -0500
committerBenety Goh <benety@mongodb.com>2018-12-19 18:51:34 -0500
commitc959f0d1381baba1bf479c3515122ebfc4c39d45 (patch)
tree1b32877498a1d982bb46ad676e288f4e02b43fbe /src/mongo
parent4eee17a5fdc14af2c3770b01cc4f906fa3620fe5 (diff)
downloadmongo-c959f0d1381baba1bf479c3515122ebfc4c39d45.tar.gz
SERVER-37499 fix lint
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/pipeline/document_source_exchange_test.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mongo/db/pipeline/document_source_exchange_test.cpp b/src/mongo/db/pipeline/document_source_exchange_test.cpp
index 37ac0c65853..6fc21054098 100644
--- a/src/mongo/db/pipeline/document_source_exchange_test.cpp
+++ b/src/mongo/db/pipeline/document_source_exchange_test.cpp
@@ -300,8 +300,8 @@ TEST_F(DocumentSourceExchangeTest, RangeExchangeNConsumer) {
spec.setConsumers(nConsumers);
spec.setBufferSize(1024);
- boost::intrusive_ptr<Exchange> ex = new Exchange(
- std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
+ boost::intrusive_ptr<Exchange> ex =
+ new Exchange(std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
std::vector<boost::intrusive_ptr<DocumentSourceExchange>> prods;
@@ -366,8 +366,8 @@ TEST_F(DocumentSourceExchangeTest, RangeShardingExchangeNConsumer) {
spec.setConsumers(nConsumers);
spec.setBufferSize(1024);
- boost::intrusive_ptr<Exchange> ex = new Exchange(
- std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
+ boost::intrusive_ptr<Exchange> ex =
+ new Exchange(std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
std::vector<boost::intrusive_ptr<DocumentSourceExchange>> prods;
@@ -423,8 +423,8 @@ TEST_F(DocumentSourceExchangeTest, RangeRandomExchangeNConsumer) {
spec.setConsumers(nConsumers);
spec.setBufferSize(1024);
- boost::intrusive_ptr<Exchange> ex = new Exchange(
- std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
+ boost::intrusive_ptr<Exchange> ex =
+ new Exchange(std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
std::vector<boost::intrusive_ptr<DocumentSourceExchange>> prods;
@@ -546,8 +546,7 @@ TEST_F(DocumentSourceExchangeTest, RandomExchangeNConsumerResourceYielding) {
std::move(opCtxOwned),
new DocumentSourceExchange(
new ExpressionContext(opCtx, nullptr), ex, idx, std::move(yielder)),
- yielderRaw
- });
+ yielderRaw});
}
std::vector<executor::TaskExecutor::CallbackHandle> handles;
@@ -610,8 +609,8 @@ TEST_F(DocumentSourceExchangeTest, RangeRandomHashExchangeNConsumer) {
spec.setConsumers(nConsumers);
spec.setBufferSize(1024);
- boost::intrusive_ptr<Exchange> ex = new Exchange(
- std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
+ boost::intrusive_ptr<Exchange> ex =
+ new Exchange(std::move(spec), unittest::assertGet(Pipeline::create({source}, getExpCtx())));
std::vector<boost::intrusive_ptr<DocumentSourceExchange>> prods;