summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-01-09 01:45:11 -0500
committerEliot Horowitz <eliot@10gen.com>2011-01-09 01:45:33 -0500
commit51ca8ee218a8ed249a4cbbd406eeaf1e9af41b36 (patch)
treebe7eeb41d60fa293c4e7d42730423f5cb94256e6 /dbtests
parentb3f7712ce45b0b4ae046b0bbdc15a9371608fddd (diff)
downloadmongo-51ca8ee218a8ed249a4cbbd406eeaf1e9af41b36.tar.gz
FileAllocator cleaning
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/framework.cpp2
-rw-r--r--dbtests/perf/perftest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/framework.cpp b/dbtests/framework.cpp
index e2e73d37948..2dbb810a665 100644
--- a/dbtests/framework.cpp
+++ b/dbtests/framework.cpp
@@ -257,7 +257,7 @@ namespace mongo {
printSysInfo();
log() << "random seed: " << seed << endl;
- theFileAllocator().start();
+ FileAllocator::get()->start();
vector<string> suites;
if (params.count("suites")) {
diff --git a/dbtests/perf/perftest.cpp b/dbtests/perf/perftest.cpp
index e233f5c3d21..ef035518ce9 100644
--- a/dbtests/perf/perftest.cpp
+++ b/dbtests/perf/perftest.cpp
@@ -74,7 +74,7 @@ public:
<< "}" << endl;
}
~Runner() {
- theFileAllocator().waitUntilFinished();
+ FileAllocator::get()->waitUntilFinished();
client_->dropDatabase( testDb< T >().c_str() );
}
};