diff options
author | Aaron <aaron@10gen.com> | 2010-02-22 10:39:34 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-02-22 10:39:34 -0800 |
commit | 8f5ee9d1ba1ade5321771db14d7b7ac6419a35c8 (patch) | |
tree | 5f3d9706d70163edb2af2893431338277462e127 /jstests/shellkillop.js | |
parent | ae80a66ff8d30bc9785d12a5f9d8fafd0bc37e2a (diff) | |
download | mongo-8f5ee9d1ba1ade5321771db14d7b7ac6419a35c8.tar.gz |
SERVER-305 make test work in parallel suite
Diffstat (limited to 'jstests/shellkillop.js')
-rw-r--r-- | jstests/shellkillop.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/shellkillop.js b/jstests/shellkillop.js index a46f39deab0..e8a97633eaf 100644 --- a/jstests/shellkillop.js +++ b/jstests/shellkillop.js @@ -11,4 +11,8 @@ spawn = startMongoProgramNoConnect( "mongo", "--port", myPort(), "--eval", "db." sleep( 100 ); stopMongoProgramByPid( spawn ); sleep( 100 ); -assert.eq( [], db.currentOp().inprog );
\ No newline at end of file +inprog = db.currentOp().inprog +printjson( inprog ); +for( i in inprog ) { + assert( inprog[ i ].ns != "test." + baseName, "still running op" ); +} |