Sha256: d5cda51362079455c33442009581a0c3dc45370b2714c9562b1220d7881d7cb1

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

require_relative "helper"
require_relative "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

3 entries across 3 versions & 1 rubygems

Version Path
redis-4.0.2 test/distributed_commands_on_lists_test.rb
redis-4.0.1 test/distributed_commands_on_lists_test.rb
redis-4.0.0 test/distributed_commands_on_lists_test.rb