diff options
Diffstat (limited to 'node_modules/mongodb-core/TESTING.md')
| -rw-r--r-- | node_modules/mongodb-core/TESTING.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/mongodb-core/TESTING.md b/node_modules/mongodb-core/TESTING.md new file mode 100644 index 0000000..fe03ea0 --- /dev/null +++ b/node_modules/mongodb-core/TESTING.md @@ -0,0 +1,18 @@ +Testing setup +============= + +Single Server +------------- +mongod --dbpath=./db + +Replicaset +---------- +mongo --nodb +var x = new ReplSetTest({"useHostName":"false", "nodes" : {node0 : {}, node1 : {}, node2 : {}}}) +x.startSet(); +var config = x.getReplSetConfig() +x.initiate(config); + +Mongos +------ +var s = new ShardingTest( "auth1", 1 , 0 , 2 , {rs: true, noChunkSize : true});
\ No newline at end of file |
