Skip to content

Commit

Permalink
Fix calls to rt:teardown; should be rt_cluster:teardown.
Browse files Browse the repository at this point in the history
  • Loading branch information
bowrocker committed Jul 31, 2014
1 parent 9369104 commit 01a132b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/riak_test_escript.erl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ run_test(Test, Outdir, TestMetaData, Report, HarnessArgs, NumTests) ->
CoverDir = rt_config:get(cover_output, "coverage"),
case NumTests of
1 -> keep_them_up;
_ -> rt:teardown()
_ -> rt_cluster:teardown()
end,
CoverageFile = rt_cover:maybe_export_coverage(Test, CoverDir, erlang:phash2(TestMetaData)),
case Report of
Expand Down Expand Up @@ -422,8 +422,8 @@ so_kill_riak_maybe() ->
io:format("Would you like to leave Riak running in order to debug?~n"),
Input = io:get_chars("[Y/n] ", 1),
case Input of
"n" -> rt:teardown();
"N" -> rt:teardown();
"n" -> rt_cluster:teardown();
"N" -> rt_cluster:teardown();
_ ->
io:format("Leaving Riak Up... "),
rt:whats_up()
Expand Down

0 comments on commit 01a132b

Please sign in to comment.