Skip to content

Commit

Permalink
Merge branch 'master' of github.com:basho/riak_core
Browse files Browse the repository at this point in the history
  • Loading branch information
slfritchie committed Feb 9, 2011
2 parents 2a16f81 + 6542a66 commit ece9c3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/riak_core_bucket.erl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ get_bucket(Name, Ring) ->

simple_set_test() ->
application:load(riak_core),
%% appending an empty list of defaults makes up for the fact that
%% riak_core_app:start/2 is not called during eunit runs
%% (that's where the usual defaults are set at startup),
%% while also not adding any trash that might affect other tests
append_bucket_defaults([]),
riak_core_ring_events:start_link(),
riak_core_ring_manager:start_link(test),
ok = set_bucket(a_bucket,[{key,value}]),
Expand Down

0 comments on commit ece9c3a

Please sign in to comment.