Skip to content

Commit d128bdf

Browse files
Emily Giurleop
authored andcommitted
RUBY-2060 Pin mlaunch version on evergreen (#1621)
* pin mlaunch version * remove keyword argument from spec * Re-running tests
1 parent 7808ab0 commit d128bdf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.evergreen/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ prepare_server_from_url() {
201201

202202
install_mlaunch() {
203203
pythonpath="$MONGO_ORCHESTRATION_HOME"/python
204-
pip install -t "$pythonpath" 'mtools[mlaunch]'
204+
pip install -t "$pythonpath" -v 'mtools[mlaunch]==1.5.3'
205205
export PATH="$pythonpath/bin":$PATH
206206
export PYTHONPATH="$pythonpath"
207207
}

spec/integration/client_options_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
end
3939
end
4040

41-
shared_examples_for 'auth mechanism that uses database or default auth source' do |default_auth_source:|
41+
shared_examples_for 'auth mechanism that uses database or default auth source' do |default_auth_source|
4242
context 'where no database is provided' do
4343
context 'with URI options' do
4444
let(:credentials) { "#{user}:#{pwd}@" }
@@ -198,7 +198,7 @@
198198
let(:auth_mech_sym) { :mongodb_cr }
199199

200200
it_behaves_like 'a supported auth mechanism'
201-
it_behaves_like 'auth mechanism that uses database or default auth source', default_auth_source: 'admin'
201+
it_behaves_like 'auth mechanism that uses database or default auth source', 'admin'
202202
it_behaves_like 'an auth mechanism that doesn\'t support auth_mech_properties'
203203
end
204204

@@ -207,7 +207,7 @@
207207
let(:auth_mech_sym) { :scram }
208208

209209
it_behaves_like 'a supported auth mechanism'
210-
it_behaves_like 'auth mechanism that uses database or default auth source', default_auth_source: 'admin'
210+
it_behaves_like 'auth mechanism that uses database or default auth source', 'admin'
211211
it_behaves_like 'an auth mechanism that doesn\'t support auth_mech_properties'
212212
end
213213

@@ -216,7 +216,7 @@
216216
let(:auth_mech_sym) { :scram256 }
217217

218218
it_behaves_like 'a supported auth mechanism'
219-
it_behaves_like 'auth mechanism that uses database or default auth source', default_auth_source: 'admin'
219+
it_behaves_like 'auth mechanism that uses database or default auth source', 'admin'
220220
it_behaves_like 'an auth mechanism that doesn\'t support auth_mech_properties'
221221
end
222222

@@ -263,7 +263,7 @@
263263
let(:auth_mech_sym) { :plain }
264264

265265
it_behaves_like 'a supported auth mechanism'
266-
it_behaves_like 'auth mechanism that uses database or default auth source', default_auth_source: '$external'
266+
it_behaves_like 'auth mechanism that uses database or default auth source', '$external'
267267
it_behaves_like 'an auth mechanism with ssl'
268268
it_behaves_like 'an auth mechanism that doesn\'t support auth_mech_properties'
269269
end

0 commit comments

Comments
 (0)