@@ -35,7 +35,7 @@ class Config
35
35
MONGODS_OPT_KEYS = [ :mongods ]
36
36
CLUSTER_OPT_KEYS = SHARDING_OPT_KEYS + REPLICA_OPT_KEYS + MONGODS_OPT_KEYS
37
37
38
- FLAGS = [ :noprealloc , :smallfiles , :logappend , :configsvr , :shardsvr , :quiet , :fastsync , :auth ]
38
+ FLAGS = [ :noprealloc , :smallfiles , :logappend , :configsvr , :shardsvr , :quiet , :fastsync ]
39
39
40
40
DEFAULT_VERIFIES = 60
41
41
BASE_PORT = 3000
@@ -108,24 +108,18 @@ def self.make_mongod(kind, opts)
108
108
:smallfiles => smallfiles ,
109
109
:noprealloc => noprealloc ,
110
110
:quiet => quiet ,
111
- :fastsync => fast_sync ,
112
- :auth => auth )
111
+ :fastsync => fast_sync )
113
112
end
114
113
115
114
def self . make_replica ( opts , count )
116
115
params = make_mongod ( 'replicas' , opts )
117
116
118
117
replSet = opts [ :replSet ] || 'ruby-driver-test'
119
118
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 } "
124
119
125
120
params . merge ( :_id => count ,
126
121
:replSet => replSet ,
127
- :oplogSize => oplog_size ,
128
- :keyFile => keyFile )
122
+ :oplogSize => oplog_size )
129
123
end
130
124
131
125
def self . make_config ( opts )
0 commit comments