diff options
author | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-08-23 18:26:18 -0400 |
---|---|---|
committer | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-08-24 13:38:18 -0400 |
commit | 62a453c0bf4f4be713c079cec178d5b40e251862 (patch) | |
tree | 49cd13f1ad382c044734cbf0522ced4d9e9c9c49 /src/mongo/s/commands/cluster_command_test_fixture.cpp | |
parent | 323ee94e5a7f67e9843778bc369c8b855fd7fafb (diff) | |
download | mongo-62a453c0bf4f4be713c079cec178d5b40e251862.tar.gz |
SERVER-35643 Allow atClusterTime when enableTestCommands is false
Diffstat (limited to 'src/mongo/s/commands/cluster_command_test_fixture.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_command_test_fixture.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_command_test_fixture.cpp b/src/mongo/s/commands/cluster_command_test_fixture.cpp index d11c78d6fa4..2d3bec52e9c 100644 --- a/src/mongo/s/commands/cluster_command_test_fixture.cpp +++ b/src/mongo/s/commands/cluster_command_test_fixture.cpp @@ -62,9 +62,6 @@ void ClusterCommandTestFixture::setUp() { LogicalTimeValidator::set(getServiceContext(), std::move(validator)); LogicalSessionCache::set(getServiceContext(), stdx::make_unique<LogicalSessionCacheNoop>()); - - // ReadConcern 'snapshot' is only supported with test commands enabled. - setTestCommandsEnabled(true); } void ClusterCommandTestFixture::expectReturnsError(ErrorCodes::Error code) { |