Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 271 Bytes
ExUnit.start()
Logger.configure(level: :info)
case :gen_tcp.connect('localhost', 6379, []) do
{:ok, socket} ->
:ok = :gen_tcp.close(socket)
{:error, reason} ->
Mix.raise("Cannot connect to Redis (http://localhost:6379): #{:inet.format_error(reason)}")
end