Skip to content

Commit

Permalink
Add timeout to timeshift_test()
Browse files Browse the repository at this point in the history
  • Loading branch information
slfritchie committed Nov 27, 2012
1 parent 6789483 commit a3d7023
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/bitcask_timeshift.erl
Expand Up @@ -51,6 +51,9 @@ set_tstamp_step(Step) ->
erlang:put(meck_tstamp_step, Step).

timeshift_test() ->
{timeout, 60, fun() -> timeshift_test2() end}.

timeshift_test2() ->
try
Dirname = "/tmp/bc.timeshift",
meck:new(bitcask_time, [passthrough]),
Expand Down

0 comments on commit a3d7023

Please sign in to comment.