File: blocking_commands_test.rb

package info (click to toggle)
ruby-redis 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,160 kB
  • sloc: ruby: 11,445; makefile: 117; sh: 24
file content (14 lines) | stat: -rw-r--r-- 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require "helper"

# ruby -w -Itest test/cluster_blocking_commands_test.rb
class TestClusterBlockingCommands < Minitest::Test
  include Helper::Cluster
  include Lint::BlockingCommands

  def mock(options = {}, &blk)
    commands = build_mock_commands(options)
    redis_cluster_mock(commands, { timeout: LOW_TIMEOUT, concurrent: true }, &blk)
  end
end