Change eunit fixture to timeout for machi_cr_client_test:smoke_test

This commit is contained in:
Scott Lystig Fritchie 2015-06-02 12:40:07 +09:00
parent dd4160b963
commit b51473be09

View file

@ -27,7 +27,9 @@
-include_lib("eunit/include/eunit.hrl").
smoke_test() ->
smoke_test_() -> {timeout, 1*60, fun() -> smoke_test2() end}.
smoke_test2() ->
os:cmd("rm -rf ./data.a ./data.b ./data.c"),
{ok, SupPid} = machi_flu_sup:start_link(),
error_logger:tty(false),