File: client_side_operations_timeout_spec.rb

package info (click to toggle)
ruby-mongo 2.21.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,764 kB
  • sloc: ruby: 108,806; makefile: 5; sh: 2
file content (15 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'
require 'runners/unified'

base = "#{CURRENT_PATH}/spec_tests/data/client_side_operations_timeout"
CSOT_TESTS = Dir.glob("#{base}/**/*.yml").sort

describe 'CSOT unified spec tests' do
  if [ 1, '1', 'yes', 'true' ].include?(ENV['CSOT_SPEC_TESTS'])
    define_unified_spec_tests(base, CSOT_TESTS)
  else
    skip 'CSOT spec tests are disabled. To enable them set env variable CSOT_SPEC_TESTS to 1'
  end
end