Skip to content

Commit

Permalink
Just don't run ipv6 test..
Browse files Browse the repository at this point in the history
  • Loading branch information
knutin committed Aug 16, 2017
1 parent 703f2f6 commit ea5375f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Emakefile
.DS_Store
doc
_build
erl_crash.dump
11 changes: 1 addition & 10 deletions test/eredis_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,7 @@

connect_test() ->
?assertMatch({ok, _}, eredis:start_link("127.0.0.1", 6379)),
?assertMatch({ok, _}, eredis:start_link("localhost", 6379)),

case eredis:start_link("::1", 6379) of
{error, {connection_error, enetunreach}} ->
%% Travis-CI has no IPv6
ok;
Result ->
?assertMatch({ok, _}, Result)
end.

?assertMatch({ok, _}, eredis:start_link("localhost", 6379)).

get_set_test() ->
C = c(),
Expand Down

0 comments on commit ea5375f

Please sign in to comment.