diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-12-07 16:11:57 -0500 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-02-02 17:48:07 -0500 |
commit | 47da0b53f9cd27aeec1d2822780784866269a47d (patch) | |
tree | 39bcdaf2374bab9d0186f07030d1b32c936cdd31 /src/mongo/client/authenticate_test.cpp | |
parent | c742c4ebe789fafa3fccd4b25332a7df0782b252 (diff) | |
download | mongo-47da0b53f9cd27aeec1d2822780784866269a47d.tar.gz |
SERVER-26952: Cache SCRAM-SHA-1 ClientKey
Diffstat (limited to 'src/mongo/client/authenticate_test.cpp')
-rw-r--r-- | src/mongo/client/authenticate_test.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/mongo/client/authenticate_test.cpp b/src/mongo/client/authenticate_test.cpp index fd7e62206e5..7cfa42b4449 100644 --- a/src/mongo/client/authenticate_test.cpp +++ b/src/mongo/client/authenticate_test.cpp @@ -179,29 +179,31 @@ public: TEST_F(AuthClientTest, MongoCR) { auto params = loadMongoCRConversation(); - auth::authenticateClient(std::move(params), "", "", _runCommandCallback); + auth::authenticateClient(std::move(params), HostAndPort(), "", _runCommandCallback); } TEST_F(AuthClientTest, asyncMongoCR) { auto params = loadMongoCRConversation(); - auth::authenticateClient( - std::move(params), "", "", _runCommandCallback, [this](auth::AuthResponse response) { - ASSERT(response.isOK()); - }); + auth::authenticateClient(std::move(params), + HostAndPort(), + "", + _runCommandCallback, + [this](auth::AuthResponse response) { ASSERT(response.isOK()); }); } #ifdef MONGO_CONFIG_SSL TEST_F(AuthClientTest, X509) { auto params = loadX509Conversation(); - auth::authenticateClient(std::move(params), "", _username, _runCommandCallback); + auth::authenticateClient(std::move(params), HostAndPort(), _username, _runCommandCallback); } TEST_F(AuthClientTest, asyncX509) { auto params = loadX509Conversation(); - auth::authenticateClient( - std::move(params), "", _username, _runCommandCallback, [this](auth::AuthResponse response) { - ASSERT(response.isOK()); - }); + auth::authenticateClient(std::move(params), + HostAndPort(), + _username, + _runCommandCallback, + [this](auth::AuthResponse response) { ASSERT(response.isOK()); }); } #endif |