diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-03-17 00:05:43 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-03-17 00:05:43 +0100 |
commit | 582fc32574a3b158c81e49cb00e6ae59205e66ba (patch) | |
tree | ac64a3243e0d2121709f685695247052858115c8 /jstests/evalc.js | |
parent | 2761bffa96595ac1698d86bbc2e95ebb0d4d6e93 (diff) | |
download | mongodb-582fc32574a3b158c81e49cb00e6ae59205e66ba.tar.gz |
Imported Upstream version 1.8.0
Diffstat (limited to 'jstests/evalc.js')
-rw-r--r-- | jstests/evalc.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/jstests/evalc.js b/jstests/evalc.js index 59c9467..8a9e889 100644 --- a/jstests/evalc.js +++ b/jstests/evalc.js @@ -7,20 +7,6 @@ for( i = 0; i < 10; ++i ) { // SERVER-1610 -function op() { - uri = db.runCommand( "whatsmyuri" ).you; - printjson( uri ); - p = db.currentOp().inprog; - for ( var i in p ) { - var o = p[ i ]; - if ( o.client == uri ) { - print( "found it" ); - return o.opid; - } - } - return -1; -} - s = startParallelShell( "print( 'starting forked:' + Date() ); for ( i=0; i<500000; i++ ){ db.currentOp(); } print( 'ending forked:' + Date() ); " ) print( "starting eval: " + Date() ) |