Sha256: b9503b5b62b548af1110c7e4182c5a2402300107455d9733a2510b8d08ae5dd6

Contents?: true

Size: 511 Bytes

Versions: 18

Compression:

Stored size: 511 Bytes

Contents

project "Redis" do
  server "localhost"

  telnet 6379 do
    timeout "3"
    binmode false

    tests = %w[
      role
      redis_version
      uptime_in_days
      used_memory_human
      blocked_clients
      connected_slaves
      connected_clients
    ]


    # issue an info command followed by quit,
    #   otherwise, we'll hang on an open port.
   
    cmd "info\n\nquit\n\n" do
      tests.each do |t|
        test "#{t}" do |r|
          r.match /#{t}:(.+)/
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
auger-1.4.4 cfg/examples/redis.rb
auger-1.4.3 cfg/examples/redis.rb
auger-1.4.2 cfg/examples/redis.rb
auger-1.4.1 cfg/examples/redis.rb
auger-1.4.0 cfg/examples/redis.rb
auger-1.3.8 cfg/examples/redis.rb
auger-1.3.7 cfg/examples/redis.rb
auger-1.3.6 cfg/examples/redis.rb
auger-1.3.5 cfg/examples/redis.rb
auger-1.3.4 cfg/examples/redis.rb
auger-1.3.3 cfg/examples/redis.rb
auger-1.3.2 cfg/examples/redis.rb
auger-1.3.1 cfg/examples/redis.rb
auger-1.3.0 cfg/examples/redis.rb
auger-1.2.4 cfg/examples/redis.rb
auger-1.2.3 cfg/examples/redis.rb
auger-1.2.2 cfg/examples/redis.rb
auger-1.2.0 cfg/examples/redis.rb