Sha256: 08770fe786f771d469eccbf409f27663b198fcfb82ca162ea754504004354f1a
Contents?: true
Size: 1.02 KB
Versions: 11
Compression:
Stored size: 1.02 KB
Contents
# encoding: UTF-8 require "helper" require "lint/blocking_commands" class TestDistributedBlockingCommands < Test::Unit::TestCase include Helper::Distributed include Lint::BlockingCommands def test_blpop_raises assert_raises(Redis::Distributed::CannotDistribute) do r.blpop(["foo", "bar"]) end end def test_blpop_raises_with_old_prototype assert_raises(Redis::Distributed::CannotDistribute) do r.blpop("foo", "bar", 0) end end def test_brpop_raises assert_raises(Redis::Distributed::CannotDistribute) do r.brpop(["foo", "bar"]) end end def test_brpop_raises_with_old_prototype assert_raises(Redis::Distributed::CannotDistribute) do r.brpop("foo", "bar", 0) end end def test_brpoplpush_raises assert_raises(Redis::Distributed::CannotDistribute) do r.brpoplpush("foo", "bar") end end def test_brpoplpush_raises_with_old_prototype assert_raises(Redis::Distributed::CannotDistribute) do r.brpoplpush("foo", "bar", 0) end end end
Version data entries
11 entries across 11 versions & 3 rubygems