Skip to content

Commit

Permalink
Fix code review remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed May 23, 2024
1 parent e131e2f commit 012450e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions spec/lite_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,20 +168,6 @@ def require_atlas
end
end

=begin
Interrupting with Timeout.timeout is brutal, and may lead to live background threads.
if SpecConfig.instance.ci? && !%w(1 true yes).include?(ENV['INTERACTIVE']&.downcase)
# Tests should take under 10 seconds ideally but it seems
# we have some that run for more than 10 seconds in CI.
config.around(:each) do |example|
TimeoutInterrupt.timeout(example_timeout_seconds, ExampleTimeout) do
example.run
end
end
end
=end

if SpecConfig.instance.ci?
if defined?(Rfc::Rif)
unless BSON::Environment.jruby?
Expand Down

0 comments on commit 012450e

Please sign in to comment.