Permalink
Browse files

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

  • Loading branch information...
1 parent 351d237 commit d7dd499766128c5ec89b1d34d2e21c6485abe794 @slfritchie slfritchie committed Sep 2, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/riak_core_config.erl
View
@@ -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},

0 comments on commit d7dd499

Please sign in to comment.