diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-04-08 22:48:18 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-04-08 22:48:18 -0400 |
commit | dd9a1bdc3f506bc3eb62d84ad48e629cb9377377 (patch) | |
tree | 68bdf4b342edac8240ac589fc845f709608a664a /jstests/libs | |
parent | e30ff0b4d0968f4f5247dbc147487af27c723dc1 (diff) | |
download | mongo-dd9a1bdc3f506bc3eb62d84ad48e629cb9377377.tar.gz |
fix time reporting
Diffstat (limited to 'jstests/libs')
-rw-r--r-- | jstests/libs/slow_weekly_util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/libs/slow_weekly_util.js b/jstests/libs/slow_weekly_util.js index b5eeb4d8a8e..c09a1d2811e 100644 --- a/jstests/libs/slow_weekly_util.js +++ b/jstests/libs/slow_weekly_util.js @@ -15,6 +15,6 @@ SlowWeeklyMongod.prototype.getDB = function( name ) { SlowWeeklyMongod.prototype.stop = function(){ stopMongod( this.port ); var end = new Date(); - print( "slowWeekly test: " + this.name + " completed succesfully in " + ( ( end.getTime() - start.getTime() / 1000 ) ) + " seconds" ); + print( "slowWeekly test: " + this.name + " completed succesfully in " + ( ( end.getTime() - this.start.getTime() ) / 1000 ) + " seconds" ); }; |