diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2020-01-10 08:57:29 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-05 18:42:37 +0000 |
commit | fb91e1d6e719de42905d63d26f065a4ac835be1e (patch) | |
tree | 0e81d0370d36561bba6a34b135b27ff8c2493dfa /src/mongo/db/s/wait_for_majority_service_test.cpp | |
parent | d8b5b7e7d954919155f9841ba181b26f56e436db (diff) | |
download | mongo-fb91e1d6e719de42905d63d26f065a4ac835be1e.tar.gz |
SERVER-45665 Make JournalFlusher flush on command and waitForWriteConcern asynchronously call waitUntilDurable through the JournalFlusher.
Making waitForWriteConcern asynchronously call waitUntilDurable is a performance gain.
Diffstat (limited to 'src/mongo/db/s/wait_for_majority_service_test.cpp')
-rw-r--r-- | src/mongo/db/s/wait_for_majority_service_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/wait_for_majority_service_test.cpp b/src/mongo/db/s/wait_for_majority_service_test.cpp index 1d7c975d385..c9e2a8af3ef 100644 --- a/src/mongo/db/s/wait_for_majority_service_test.cpp +++ b/src/mongo/db/s/wait_for_majority_service_test.cpp @@ -38,7 +38,7 @@ namespace mongo { namespace { -class WaitForMajorityServiceTest : public ServiceContextTest { +class WaitForMajorityServiceTest : public ServiceContextMongoDTest { public: void setUp() override { auto service = getServiceContext(); |