summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/wait_for_majority_service_test.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-01-10 08:57:29 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-05 18:42:37 +0000
commitfb91e1d6e719de42905d63d26f065a4ac835be1e (patch)
tree0e81d0370d36561bba6a34b135b27ff8c2493dfa /src/mongo/db/s/wait_for_majority_service_test.cpp
parentd8b5b7e7d954919155f9841ba181b26f56e436db (diff)
downloadmongo-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.cpp2
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();