diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-16 16:49:52 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-16 16:49:52 -0400 |
commit | be97415494a5580b82ebe3a12064924ccac7b068 (patch) | |
tree | 74784ac6808e0ec202f23c229aca83c4e07992cb /jstests | |
parent | 8e477b32eea5f9eede4bd60b67a4befad4c2d5b6 (diff) | |
download | mongo-be97415494a5580b82ebe3a12064924ccac7b068.tar.gz |
don't use same db on 2 shards
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/stale_clustered.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/stale_clustered.js b/jstests/replsets/stale_clustered.js index c5949f9d440..0ff6a346c2e 100644 --- a/jstests/replsets/stale_clustered.js +++ b/jstests/replsets/stale_clustered.js @@ -28,8 +28,8 @@ var collSOk = mongosSOK.getCollection( "" + coll ) var rsA = shardTest._rs[0].test var rsB = shardTest._rs[1].test -rsA.getMaster().getDB( "test" ).dummy.insert( { x : 1 } ) -rsB.getMaster().getDB( "test" ).dummy.insert( { x : 1 } ) +rsA.getMaster().getDB( "test_a" ).dummy.insert( { x : 1 } ) +rsB.getMaster().getDB( "test_b" ).dummy.insert( { x : 1 } ) rsA.awaitReplication() rsB.awaitReplication() |