Sha256: 5248d739aeb08f368d2f2716f9df9545e5e0e4d544a814fdc0408824b85a14d3
Contents?: true
Size: 917 Bytes
Versions: 13
Compression:
Stored size: 917 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 require 'lite_spec_helper' require 'mrss/constraints' require 'mrss/cluster_config' ClusterConfig = Mrss::ClusterConfig require 'support/constraints' require 'support/authorization' require 'support/primary_socket' require 'support/cluster_tools' require 'rspec/retry' require 'support/monitoring_ext' RSpec.configure do |config| config.include(Authorization) config.extend(Mrss::Constraints) config.extend(Constraints) config.before(:all) do if ClusterConfig.instance.fcv_ish >= '3.6' && !SpecConfig.instance.serverless? # Serverless instances do not support killAllSessions command. kill_all_server_sessions end end config.after do LocalResourceRegistry.instance.close_all ClientRegistry.instance.close_local_clients end end # require all shared examples Dir['./spec/support/shared/*.rb'].sort.each { |file| require file }
Version data entries
13 entries across 13 versions & 1 rubygems