summaryrefslogtreecommitdiff
path: root/jstests/slowWeekly/conc_update.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/slowWeekly/conc_update.js')
-rw-r--r--jstests/slowWeekly/conc_update.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/slowWeekly/conc_update.js b/jstests/slowWeekly/conc_update.js
index d460a0d8109..e93962d3842 100644
--- a/jstests/slowWeekly/conc_update.js
+++ b/jstests/slowWeekly/conc_update.js
@@ -1,4 +1,6 @@
-db = db.getSisterDB("concurrency")
+load( "jstests/libs/slow_weekly_util.js" )
+test = new SlowWeeklyMongod( "conc_update" )
+db = test.getDB("concurrency")
db.dropDatabase();
NRECORDS=5*1024*1024 // this needs to be relatively big so that
@@ -52,3 +54,5 @@ print(querycount + " queries, " + decrements + " decrements, " + misses + " miss
assert.eq( NRECORDS , db.conc.count() , "AT END 1" )
updater() // wait()
+
+test.stop();