aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_suite_callback.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common_test/src/ct_suite_callback.erl')
-rw-r--r--lib/common_test/src/ct_suite_callback.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_suite_callback.erl b/lib/common_test/src/ct_suite_callback.erl
index 947fa0c716..a93b05b1d2 100644
--- a/lib/common_test/src/ct_suite_callback.erl
+++ b/lib/common_test/src/ct_suite_callback.erl
@@ -34,8 +34,6 @@
-type proplist() :: [{atom(),term()}].
-define(config_name, suite_callbacks).
--define(LOCK_STATE_TIMEOUT, 500).
--define(LOCK_NAME, '$ct_suite_callback_lock').
%% -------------------------------------------------------------------------
%% API Functions
@@ -146,7 +144,7 @@ call_terminate({Mod, State}, _, _) ->
call_cleanup({Mod, State}, Reason, [Function | Args]) ->
NewState = catch_apply(Mod,Function, Args ++ [Reason, State],
- {Reason,State}),
+ State),
{Reason, {Mod, NewState}}.
call_generic({Mod, State}, Value, [Function | Args]) ->