spec/lite_spec_helper.rb in mongo-2.20.1 vs spec/lite_spec_helper.rb in mongo-2.21.0

- old
+ new

@@ -20,10 +20,12 @@ # Skip tests that are flaky on JRuby. # https://jira.mongodb.org/browse/RUBY-3292 !defined?(JRUBY_VERSION) || !f.include?('pool-checkout-minPoolSize-connection-maxConnecting.yml') end AUTH_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/auth/*.yml").sort -CLIENT_SIDE_ENCRYPTION_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/client_side_encryption/*.yml").sort +CLIENT_SIDE_ENCRYPTION_TESTS = Dir.glob("#{CURRENT_PATH}/spec_tests/data/client_side_encryption/*.yml").sort.delete_if do |spec| + ![ 1, '1', 'yes', 'true' ].include?(ENV['CSOT_SPEC_TESTS']) && spec =~ /.*timeoutMS.yml$/ +end # Disable output buffering: https://www.rubyguides.com/2019/02/ruby-io/ STDOUT.sync = true STDERR.sync = true