diff options
| author | Steve Kemp <steve@steve.org.uk> | 2015-12-18 11:56:32 +0200 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2015-12-18 11:56:32 +0200 | 
| commit | ca00933b7094642f218d428bf663f99f9c5e524d (patch) | |
| tree | 4ea24656009aa5897293bde481ca391e42290515 /t | |
| parent | 048e2bfb8e8bdb152d5373b47dd54553e40e5b78 (diff) | |
Removed references and support for beanstalkd.
The beanstalkd queue used to be used in the past, and we later
added support for Redis via a simple abstraction layer.  But now
we've no longer tested and used beanstalkd for over a year, and
the client-libraries are no longer available as native Debian
packages.
With that in mind we've excised the code, although left the
abstraction-class in-place.
Diffstat (limited to 't')
| -rwxr-xr-x | t/test-custodian-queue.rb | 35 | 
1 files changed, 2 insertions, 33 deletions
diff --git a/t/test-custodian-queue.rb b/t/test-custodian-queue.rb index bcd615c..d9145c8 100755 --- a/t/test-custodian-queue.rb +++ b/t/test-custodian-queue.rb @@ -31,26 +31,13 @@ class TestCustodianQueue < Test::Unit::TestCase    end - -    # -  # Test that creating an unknown type throws an exception. +  #  Test we can create and use a Redis queue.    # -  def test_unknown - -    # creation will fail -    assert_raise RuntimeError do -      t = Custodian::QueueType.create('foo') -    end - -  end - - -    def test_redis      q = nil      assert_nothing_raised do -      q = Custodian::QueueType.create('redis') +      q = Custodian::RedisQueueType.new()      end      # @@ -65,22 +52,4 @@ class TestCustodianQueue < Test::Unit::TestCase    end -  def test_beanstalkd -    q = nil -    assert_nothing_raised do -      q = Custodian::QueueType.create('redis') -    end - -    # -    # here we're testing we've got a derived class that has -    # implemented the methods "size?" & "flush!" -    # -    assert_nothing_raised do -      q.size? -      q.flush! -    end - - -  end -  end  | 
