Test long running clause

This commit is contained in:
martinsumner 2017-02-26 22:41:25 +00:00
parent 4e6c22d7e6
commit aba385869f

View file

@ -1282,6 +1282,11 @@ foldobjects_vs_hashtree_test() ->
ok = book_close(Bookie1),
reset_filestructure().
longrunning_test() ->
SW = os:timestamp(),
timer:sleep(100),
?assertMatch(ok, maybe_longrunning(SW, put)).
coverage_cheat_test() ->
{noreply, _State0} = handle_info(timeout, #state{}),
{ok, _State1} = code_change(null, #state{}, null),