summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_command_test_fixture.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2020-05-04 14:47:29 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-04 22:58:44 +0000
commit845b52ae1c13f10d79993950888819347fac3aa3 (patch)
tree85cd651ccaf3f44ed9a200b85959f7d1e1f9899e /src/mongo/s/commands/cluster_command_test_fixture.cpp
parentf49817283643d6ba10be35e6dc48a8f513e8f058 (diff)
downloadmongo-845b52ae1c13f10d79993950888819347fac3aa3.tar.gz
SERVER-47908 Wire speculativeAuthenticate into mongos
Diffstat (limited to 'src/mongo/s/commands/cluster_command_test_fixture.cpp')
-rw-r--r--src/mongo/s/commands/cluster_command_test_fixture.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_command_test_fixture.cpp b/src/mongo/s/commands/cluster_command_test_fixture.cpp
index 243888c115a..f3fe69feda8 100644
--- a/src/mongo/s/commands/cluster_command_test_fixture.cpp
+++ b/src/mongo/s/commands/cluster_command_test_fixture.cpp
@@ -43,6 +43,7 @@
#include "mongo/db/logical_time_validator.h"
#include "mongo/s/cluster_last_error_info.h"
#include "mongo/util/fail_point.h"
+#include "mongo/util/options_parser/startup_option_init.h"
#include "mongo/util/tick_source_mock.h"
namespace mongo {
@@ -304,4 +305,9 @@ void ClusterCommandTestFixture::appendTxnResponseMetadata(BSONObjBuilder& bob) {
txnResponseMetadata.serialize(&bob);
}
+// Satisfies dependency from StoreSASLOPtions.
+MONGO_STARTUP_OPTIONS_STORE(CoreOptions)(InitializerContext*) {
+ return Status::OK();
+}
+
} // namespace mongo