From e58943c3e620f05937656fdde032254ae3373f36 Mon Sep 17 00:00:00 2001 From: Waref Haque Date: Sun, 17 Jul 2016 16:24:49 -0400 Subject: redirect commit --- node_modules/mongodb-core/TESTING.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 node_modules/mongodb-core/TESTING.md (limited to 'node_modules/mongodb-core/TESTING.md') 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 -- cgit v1.2.3