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