summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-07-16 16:49:52 -0400
committerEliot Horowitz <eliot@10gen.com>2011-07-16 16:49:52 -0400
commitbe97415494a5580b82ebe3a12064924ccac7b068 (patch)
tree74784ac6808e0ec202f23c229aca83c4e07992cb /jstests
parent8e477b32eea5f9eede4bd60b67a4befad4c2d5b6 (diff)
downloadmongo-be97415494a5580b82ebe3a12064924ccac7b068.tar.gz
don't use same db on 2 shards
Diffstat (limited to 'jstests')
-rw-r--r--jstests/replsets/stale_clustered.js4
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()