summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2013-08-20 10:01:47 -0400
committerGreg Studer <greg@10gen.com>2013-08-20 10:01:47 -0400
commit0db5ea9c643ca7f5ef9b9d1fd2c0515b612e7bd9 (patch)
treeaf9f6c6931fd50b3078f427ef65016ea724ca3e9 /jstests
parent9fb1245ae1133f76c52105f561dd4d02f531f2de (diff)
downloadmongo-0db5ea9c643ca7f5ef9b9d1fd2c0515b612e7bd9.tar.gz
SERVER-10482 buildbot movechunk_with_def_paranoia.js make sure test updated with default
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/movechunk_with_def_paranoia.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/sharding/movechunk_with_def_paranoia.js b/jstests/sharding/movechunk_with_def_paranoia.js
index 37f1f6bdfe4..cac144bcf4f 100644
--- a/jstests/sharding/movechunk_with_def_paranoia.js
+++ b/jstests/sharding/movechunk_with_def_paranoia.js
@@ -5,10 +5,8 @@ var st = new ShardingTest( { shards:2, mongos:1 , other : { chunksize : 1 }});
load("jstests/sharding/movechunk_include.js")
setupMoveChunkTest(st);
-var shards = [st.shard0, st.shard1];
-for(i in shards) {
- var dbpath = shards[i].adminCommand("getCmdLineOpts").parsed.dbpath;
- var hasMoveChunkDir = 0 != ls(dbpath).filter(function(a) {return null != a.match("moveChunk")}).length
- assert(!hasMoveChunkDir, dbpath + ": has MoveChunk directory + " + ls(dbpath))
-}
+var dbpath = st.shard1.adminCommand("getCmdLineOpts").parsed.dbpath;
+var hasMoveChunkDir = 0 != ls(dbpath).filter(function(a) {return null != a.match("moveChunk")}).length
+assert(hasMoveChunkDir, dbpath + ": does not has MoveChunk directory + " + ls(dbpath))
+
st.stop()