Sha256: 96ba8f2e80e63a40acc1f05ad2c7d849e29f15d0821322460f5483fb9a086c79

Contents?: true

Size: 442 Bytes

Versions: 11

Compression:

Stored size: 442 Bytes

Contents

# encoding: UTF-8

require "helper"
require "lint/lists"

class TestDistributedCommandsOnLists < Test::Unit::TestCase

  include Helper::Distributed
  include Lint::Lists

  def test_rpoplpush
    assert_raise Redis::Distributed::CannotDistribute do
      r.rpoplpush("foo", "bar")
    end
  end

  def test_brpoplpush
    assert_raise Redis::Distributed::CannotDistribute do
      r.brpoplpush("foo", "bar", :timeout => 1)
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
redis-3.0.5 test/distributed_commands_on_lists_test.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_lists_test.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/redis-3.0.4/test/distributed_commands_on_lists_test.rb
redis-3.0.4 test/distributed_commands_on_lists_test.rb
redis-3.0.3 test/distributed_commands_on_lists_test.rb
remq-0.0.4 vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_lists_test.rb
remq-0.0.3 vendor/bundle/gems/redis-3.0.2/test/distributed_commands_on_lists_test.rb
redis-3.0.2 test/distributed_commands_on_lists_test.rb
redis-3.0.1 test/distributed_commands_on_lists_test.rb
redis-3.0.0 test/distributed_commands_on_lists_test.rb
redis-3.0.0.rc2 test/distributed_commands_on_lists_test.rb