summaryrefslogtreecommitdiff
path: root/dbtests/framework.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-09 15:24:27 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-09 15:24:27 -0400
commitb5a5b5deb48c8094146641efe193c6ff80007867 (patch)
tree11db6e1f7dbe7da7c637ba5bad0320b4ac45864a /dbtests/framework.cpp
parent67e37aa4b9db3168b1ba748d85bf5b9457d7630c (diff)
downloadmongo-b5a5b5deb48c8094146641efe193c6ff80007867.tar.gz
init threads in unit tests
Diffstat (limited to 'dbtests/framework.cpp')
-rw-r--r--dbtests/framework.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbtests/framework.cpp b/dbtests/framework.cpp
index 57583b2e9f0..53b971d0d3f 100644
--- a/dbtests/framework.cpp
+++ b/dbtests/framework.cpp
@@ -203,6 +203,7 @@ namespace mongo {
string dbpathString = p.native_directory_string();
dbpath = dbpathString.c_str();
+ Connection::initThread();
acquirePathLock();
srand( seed );