Skip to content

Commit bb40efd

Browse files
committed
Propert shutdown of riak_core_ring_manager (and other procs) fixes
environmental error with yz_index_hashtree_eqc test
1 parent 45b62e0 commit bb40efd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/yz_kv.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ siblings_permitted_test_() ->
490490
process_flag(trap_exit, true),
491491
riak_core_ring_manager:cleanup_ets(test),
492492
catch application:stop(riak_core),
493-
catch(riak_core_metadata_hashtree:stop()),
494-
catch(riak_core_claimant:stop()),
495-
catch(riak_core_ring_manager:stop()),
493+
catch(exit(whereis(riak_core_riak_core_metadata_hashtreeclaimant), shutdown)),
494+
catch(exit(whereis(riak_core_claimant), shutdown)),
495+
catch(exit(whereis(riak_core_ring_manager), shutdown)),
496496
catch(exit(whereis(riak_core_ring_events), shutdown)),
497497
application:unset_env(riak_core, default_bucket_props),
498498
meck:unload(riak_core_capability)

0 commit comments

Comments
 (0)