Skip to content

Commit

Permalink
Silence output from core_vnode_eqc and log to file instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymclaughlin committed Jun 20, 2014
1 parent d652765 commit 0975cf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/core_vnode_eqc.erl
Expand Up @@ -60,6 +60,10 @@ simple_test_() ->
?_assertEqual(true, quickcheck(?QC_OUT(numtests(100, prop_simple()))))}}.

setup_simple() ->
error_logger:tty(false),
application:set_env(sasl, sasl_error_logger, {file, "core_vnode_eqc_sasl.log"}),
error_logger:logfile({open, "core_vnode_eqc.log"}),

Vars = [{ring_creation_size, 8},
{ring_state_dir, "<nostore>"},
{cluster_name, "test"},
Expand Down Expand Up @@ -447,4 +451,3 @@ filter_work(Work, Pid) ->
end, Work).

-endif.

0 comments on commit 0975cf2

Please sign in to comment.