diff options
author | Randolph Tan <randolph@10gen.com> | 2014-03-24 13:56:00 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-03-24 16:58:59 -0400 |
commit | 7e8aaa3a488c8b23f05147464a107db66f76eab2 (patch) | |
tree | 923a601fb50ae8e117c0d49bbbb124b817a2b1be | |
parent | 67aadff82dc47bcfcba06aebc3b5a61eebf97658 (diff) | |
download | mongo-7e8aaa3a488c8b23f05147464a107db66f76eab2.tar.gz |
SERVER-13333 Add more info when movePrimary fails in prefix_shard_key.js
-rw-r--r-- | jstests/sharding/prefix_shard_key.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/prefix_shard_key.js b/jstests/sharding/prefix_shard_key.js index 58091490b1c..0e55aae2d44 100644 --- a/jstests/sharding/prefix_shard_key.js +++ b/jstests/sharding/prefix_shard_key.js @@ -119,7 +119,7 @@ for( i=0; i < 3; i++ ){ var coll2 = db.foo2; coll2.drop(); var moveRes = admin.runCommand( { movePrimary : coll2.getDB() + "", to : shards[0]._id } ); - assert.eq( moveRes.ok , 1 , "primary not moved correctly" ); + assert.eq( moveRes.ok, 1, "primary not moved correctly: " + tojson( moveRes )); // declare a longer index if ( i == 0 ) { |