summaryrefslogtreecommitdiff
path: root/src/mongo/util/dns_query_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/dns_query_test.cpp')
-rw-r--r--src/mongo/util/dns_query_test.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mongo/util/dns_query_test.cpp b/src/mongo/util/dns_query_test.cpp
index b7dac331a12..8c6330b1557 100644
--- a/src/mongo/util/dns_query_test.cpp
+++ b/src/mongo/util/dns_query_test.cpp
@@ -110,11 +110,13 @@ TEST(MongoDnsQuery, srvRecords) {
} tests[] = {
{"test1.test.build.10gen.cc.",
{
- {"localhost.test.build.10gen.cc.", 27017}, {"localhost.test.build.10gen.cc.", 27018},
+ {"localhost.test.build.10gen.cc.", 27017},
+ {"localhost.test.build.10gen.cc.", 27018},
}},
{"test2.test.build.10gen.cc.",
{
- {"localhost.test.build.10gen.cc.", 27018}, {"localhost.test.build.10gen.cc.", 27019},
+ {"localhost.test.build.10gen.cc.", 27018},
+ {"localhost.test.build.10gen.cc.", 27019},
}},
{"test3.test.build.10gen.cc.",
{
@@ -174,7 +176,8 @@ TEST(MongoDnsQuery, txtRecords) {
}},
{"test6.test.build.10gen.cc",
{
- "authSource=otherDB", "replicaSet=repl0",
+ "authSource=otherDB",
+ "replicaSet=repl0",
}},
};