blob: e5b66000cb84b09951eb68c6d437686215e781d0 (
plain) (
tree)
|
|
ExUnit.start()
case :gen_tcp.connect('localhost', 4045, []) do
{:ok, socket} ->
:gen_tcp.close(socket)
{:error, _reason} ->
Mix.raise "Please have another instance of Shard running at 127.0.0.1:4045, it can be launched with the command: PORT=4045 iex -S mix"
end
|