fe03ea0f7cff342bc04c4b427bb8598760cada61
[aai/esr-gui.git] /
1 Testing setup
2 =============
3
4 Single Server
5 -------------
6 mongod --dbpath=./db
7
8 Replicaset
9 ----------
10 mongo --nodb
11 var x = new ReplSetTest({"useHostName":"false", "nodes" : {node0 : {}, node1 : {}, node2 : {}}})
12 x.startSet();
13 var config = x.getReplSetConfig()
14 x.initiate(config);
15
16 Mongos
17 ------
18 var s = new ShardingTest( "auth1", 1 , 0 , 2 , {rs: true, noChunkSize : true});