diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-07-01 14:49:26 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-07-01 21:28:57 -0400 |
commit | 164e785735f0fd8db2e0c68b86c2278ddc92a671 (patch) | |
tree | 3055b20b0e90aecc3003cb276cbf0350d8ab5ef8 /src/mongo/db/snapshot_window_util_test.cpp | |
parent | b9198150102c2edd2c2d27f0db2a96eaef9b6e38 (diff) | |
download | mongo-164e785735f0fd8db2e0c68b86c2278ddc92a671.tar.gz |
SERVER-41560 default the snapshot window size to 0 when running with the WT inMemory storage engine
Diffstat (limited to 'src/mongo/db/snapshot_window_util_test.cpp')
-rw-r--r-- | src/mongo/db/snapshot_window_util_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/snapshot_window_util_test.cpp b/src/mongo/db/snapshot_window_util_test.cpp index 19e1b60c4a1..3d7a23d8815 100644 --- a/src/mongo/db/snapshot_window_util_test.cpp +++ b/src/mongo/db/snapshot_window_util_test.cpp @@ -32,6 +32,7 @@ #include "mongo/db/snapshot_window_util.h" #include "mongo/db/client.h" +#include "mongo/db/commands/test_commands_enabled.h" #include "mongo/db/service_context.h" #include "mongo/db/service_context_devnull_test_fixture.h" #include "mongo/db/snapshot_window_options.h" @@ -51,6 +52,7 @@ public: void setUp() override { ServiceContextDevnullTestFixture::setUp(); _opCtx = cc().makeOperationContext(); + setTestCommandsEnabled(true); } void tearDown() override { |