~ubuntu-branches/ubuntu/vivid/mongodb/vivid

« back to all changes in this revision

Viewing changes to jstests/sharding/prefix_shard_key.js

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-05-19 15:46:36 UTC
  • mfrom: (44.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20140519154636-ay43ao82iab9xgld
Tags: 1:2.4.10-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Add support for arm64:
    + d/control: Add arm64 to list of target architectures.
    + d/p/0001-Add-option-to-disable-javascript.patch,
      d/p/0001-SERVER-12064-Atomic-operations-for-gcc-non-Intel-arc.patch,
      d/p/0002-SERVER-12065-Support-ARM-and-AArch64-builds.patch:
      Patches to support arm64.
    + d/p/0005-ARM-support-for-ASM-operations-in-MongoDB.patch: Dropped in
      preference to above patches.
    + d/rules: Disable scripting on arm64.
  - d/p/0004-Support-ppc64el-builds.patch: Rebase on arm64 patches.
* d/mongodb-server.postinst: Call adduser with explicit --home.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
    var coll2 = db.foo2;
120
120
    coll2.drop();
121
121
    var moveRes = admin.runCommand( { movePrimary : coll2.getDB() + "", to : shards[0]._id } );
122
 
    assert.eq( moveRes.ok , 1 , "primary not moved correctly" );
 
122
    assert.eq( moveRes.ok, 1, "primary not moved correctly: " + tojson( moveRes ));
123
123
 
124
124
    // declare a longer index
125
125
    if ( i == 0 ) {