Sha256: 2013a919af63aaa9d5a6fd1ad199fd4390524645adec6b6674293dfc7d48fc66
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
require_relative "helper" require_relative "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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redis-4.0.2 | test/distributed_blocking_commands_test.rb |
redis-4.0.1 | test/distributed_blocking_commands_test.rb |
redis-4.0.0 | test/distributed_blocking_commands_test.rb |