@@ -35,7 +35,7 @@ class Config
3535 MONGODS_OPT_KEYS = [ :mongods ]
3636 CLUSTER_OPT_KEYS = SHARDING_OPT_KEYS + REPLICA_OPT_KEYS + MONGODS_OPT_KEYS
3737
38- FLAGS = [ :noprealloc , :smallfiles , :logappend , :configsvr , :shardsvr , :quiet , :fastsync , :auth ]
38+ FLAGS = [ :noprealloc , :smallfiles , :logappend , :configsvr , :shardsvr , :quiet , :fastsync ]
3939
4040 DEFAULT_VERIFIES = 60
4141 BASE_PORT = 3000
@@ -108,24 +108,18 @@ def self.make_mongod(kind, opts)
108108 :smallfiles => smallfiles ,
109109 :noprealloc => noprealloc ,
110110 :quiet => quiet ,
111- :fastsync => fast_sync ,
112- :auth => auth )
111+ :fastsync => fast_sync )
113112 end
114113
115114 def self . make_replica ( opts , count )
116115 params = make_mongod ( 'replicas' , opts )
117116
118117 replSet = opts [ :replSet ] || 'ruby-driver-test'
119118 oplog_size = opts [ :oplog_size ] || 5
120- keyFile = opts [ :keyFile ] || '/test/tools/keyfile.txt'
121-
122- keyFile = Dir . pwd << keyFile
123- system "chmod 600 #{ keyFile } "
124119
125120 params . merge ( :_id => count ,
126121 :replSet => replSet ,
127- :oplogSize => oplog_size ,
128- :keyFile => keyFile )
122+ :oplogSize => oplog_size )
129123 end
130124
131125 def self . make_config ( opts )
0 commit comments