summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/cursor_manager.cpp1
-rw-r--r--src/mongo/db/db.cpp2
-rw-r--r--src/mongo/db/hasher.cpp9
-rw-r--r--src/mongo/db/repl/oplog.cpp1
4 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/cursor_manager.cpp b/src/mongo/db/cursor_manager.cpp
index a577689f4dc..978245df357 100644
--- a/src/mongo/db/cursor_manager.cpp
+++ b/src/mongo/db/cursor_manager.cpp
@@ -54,7 +54,6 @@
#include "mongo/stdx/memory.h"
#include "mongo/util/exit.h"
#include "mongo/util/log.h"
-#include "mongo/util/startup_test.h"
namespace mongo {
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 5d58f604880..32eb25ef96f 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -177,7 +177,6 @@
#include "mongo/util/sequence_util.h"
#include "mongo/util/signal_handlers.h"
#include "mongo/util/stacktrace.h"
-#include "mongo/util/startup_test.h"
#include "mongo/util/text.h"
#include "mongo/util/time_support.h"
#include "mongo/util/version.h"
@@ -1079,7 +1078,6 @@ int mongoDbMain(int argc, char* argv[], char** envp) {
}
#endif
- StartupTest::runTests();
ExitCode exitCode = initAndListen(serverGlobalParams.port);
exitCleanly(exitCode);
return 0;
diff --git a/src/mongo/db/hasher.cpp b/src/mongo/db/hasher.cpp
index 677d34d9b7f..e8da6919bf4 100644
--- a/src/mongo/db/hasher.cpp
+++ b/src/mongo/db/hasher.cpp
@@ -36,7 +36,6 @@
#include "mongo/db/jsobj.h"
#include "mongo/util/md5.hpp"
-#include "mongo/util/startup_test.h"
namespace mongo {
@@ -137,14 +136,6 @@ void recursiveHash(Hasher* h, const BSONElement& e, bool includeFieldName) {
}
}
-struct HasherUnitTest : public StartupTest {
- void run() {
- // Hard-coded check to ensure the hash function is consistent across platforms
- BSONObj o = BSON("check" << 42);
- verify(BSONElementHasher::hash64(o.firstElement(), 0) == -944302157085130861LL);
- }
-} hasherUnitTest;
-
} // namespace
long long int BSONElementHasher::hash64(const BSONElement& e, HashSeed seed) {
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp
index 658353d6cad..11fa6719a1c 100644
--- a/src/mongo/db/repl/oplog.cpp
+++ b/src/mongo/db/repl/oplog.cpp
@@ -94,7 +94,6 @@
#include "mongo/util/fail_point_service.h"
#include "mongo/util/file.h"
#include "mongo/util/log.h"
-#include "mongo/util/startup_test.h"
#include "mongo/util/str.h"
namespace mongo {