Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unset testing app env keys to avoid riak_pipe EUnit failures :-(

  • Loading branch information...
commit d7dd499766128c5ec89b1d34d2e21c6485abe794 1 parent 351d237
@slfritchie slfritchie authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/riak_core_config.erl
View
4 src/riak_core_config.erl
@@ -129,8 +129,10 @@ http_ip_and_port_test_case() ->
?assertEqual({"127.0.0.1", 8098}, http_ip_and_port()),
%% Test the config for 0.14 and later
application:set_env(riak_core, http, [{"localhost", 9000}]),
- ?assertEqual({"localhost", 9000}, http_ip_and_port()).
+ ?assertEqual({"localhost", 9000}, http_ip_and_port()),
+ [application:unset_env(riak_core, K) || K <- [web_ip, web_port, http]],
+ ok.
default_bucket_props_test_case() ->
DefaultBucketProps = [{allow_mult,false},
Please sign in to comment.
Something went wrong with that request. Please try again.