Test long running clause
This commit is contained in:
parent
4e6c22d7e6
commit
aba385869f
1 changed files with 5 additions and 0 deletions
|
@ -1282,6 +1282,11 @@ foldobjects_vs_hashtree_test() ->
|
||||||
ok = book_close(Bookie1),
|
ok = book_close(Bookie1),
|
||||||
reset_filestructure().
|
reset_filestructure().
|
||||||
|
|
||||||
|
longrunning_test() ->
|
||||||
|
SW = os:timestamp(),
|
||||||
|
timer:sleep(100),
|
||||||
|
?assertMatch(ok, maybe_longrunning(SW, put)).
|
||||||
|
|
||||||
coverage_cheat_test() ->
|
coverage_cheat_test() ->
|
||||||
{noreply, _State0} = handle_info(timeout, #state{}),
|
{noreply, _State0} = handle_info(timeout, #state{}),
|
||||||
{ok, _State1} = code_change(null, #state{}, null),
|
{ok, _State1} = code_change(null, #state{}, null),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue