Skip to content

Commit 6f59d9a

Browse files
p-mongop
andauthored
RUBY-2445 retry the test to fight flakiness (#2342)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 14bb416 commit 6f59d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/client_construction_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@
447447
end.should_not raise_error
448448
end
449449

450-
it 'fails operations due to very small timeout' do
450+
it 'fails operations due to very small timeout', retry: 3 do
451451
lambda do
452452
client.database.command(ping: 1)
453453
end.should raise_error(Mongo::Error::SocketTimeoutError)

0 commit comments

Comments
 (0)