summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_test_fixture_common.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-01-17 17:40:35 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-07 14:01:39 -0500
commit083647f38662195653b87b6a79ae1183d269f910 (patch)
tree1cc2a3b7a036232da1a3c1bc96bc5c39d9d90551 /src/mongo/s/sharding_test_fixture_common.cpp
parent4d2ca242fb7b9a28d1123831db99664eb0db3e23 (diff)
downloadmongo-083647f38662195653b87b6a79ae1183d269f910.tar.gz
SERVER-29908 Move OpObserver callbacks out of CollectionShardingState
Diffstat (limited to 'src/mongo/s/sharding_test_fixture_common.cpp')
-rw-r--r--src/mongo/s/sharding_test_fixture_common.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/mongo/s/sharding_test_fixture_common.cpp b/src/mongo/s/sharding_test_fixture_common.cpp
new file mode 100644
index 00000000000..ebff5f0aceb
--- /dev/null
+++ b/src/mongo/s/sharding_test_fixture_common.cpp
@@ -0,0 +1,41 @@
+/**
+ * Copyright (C) 2015 MongoDB Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * As a special exception, the copyright holders give permission to link the
+ * code of portions of this program with the OpenSSL library under certain
+ * conditions as described in each individual source file and distribute
+ * linked combinations including the program with the OpenSSL library. You
+ * must comply with the GNU Affero General Public License in all respects for
+ * all of the code used other than as permitted herein. If you modify file(s)
+ * with this exception, you may extend this exception to your version of the
+ * file(s), but you are not obligated to do so. If you do not wish to do so,
+ * delete this exception statement from your version. If you delete this
+ * exception statement from all source files in the program, then also delete
+ * it in the license file.
+ */
+
+#include "mongo/platform/basic.h"
+
+#include "mongo/s/sharding_test_fixture_common.h"
+
+namespace mongo {
+
+constexpr Seconds ShardingTestFixtureCommon::kFutureTimeout;
+
+ShardingTestFixtureCommon::ShardingTestFixtureCommon() = default;
+
+ShardingTestFixtureCommon::~ShardingTestFixtureCommon() = default;
+
+} // namespace mongo