aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_test_server_if_1_SUITE_data
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-17 13:34:30 +0100
committerPeter Andersson <[email protected]>2015-03-18 10:03:13 +0100
commitcbea3156f051f92ebd355ea05c7904aa080fd72f (patch)
treef4f7b35a5f44fe274061e90d14254b7e40e03cf3 /lib/common_test/test/ct_test_server_if_1_SUITE_data
parent5fde23474656c1934250e8b8a9c7399dc00d5bdf (diff)
downloadotp-cbea3156f051f92ebd355ea05c7904aa080fd72f.tar.gz
otp-cbea3156f051f92ebd355ea05c7904aa080fd72f.tar.bz2
otp-cbea3156f051f92ebd355ea05c7904aa080fd72f.zip
Enable timetrap scaling for all tests
Diffstat (limited to 'lib/common_test/test/ct_test_server_if_1_SUITE_data')
-rw-r--r--lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl b/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl
index 06fa6ac638..d30feb0bd2 100644
--- a/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl
+++ b/lib/common_test/test/ct_test_server_if_1_SUITE_data/test_server_if/test/ts_if_1_SUITE.erl
@@ -76,7 +76,7 @@ end_per_group(_GroupName, _Config) ->
%% Reason = term()
%%--------------------------------------------------------------------
init_per_testcase(tc1, Config) ->
- timer:sleep(5000),
+ ct:sleep(5000),
Config;
init_per_testcase(tc8, _Config) ->
{skip,"tc8 skipped"};
@@ -92,7 +92,7 @@ init_per_testcase(_TestCase, Config) ->
%% Config0 = Config1 = [tuple()]
%%--------------------------------------------------------------------
end_per_testcase(tc2, Config) ->
- timer:sleep(5000);
+ ct:sleep(5000);
end_per_testcase(tc12, Config) ->
ct:comment("end_per_testcase(tc12) called!"),
ct:pal("end_per_testcase(tc12) called!", []),
@@ -146,7 +146,7 @@ tc2(_) ->
timeout_in_end_per_testcase.
tc3(_) ->
- timer:sleep(5000).
+ ct:sleep(5000).
tc4(_) ->
exit(failed_on_purpose).
@@ -186,7 +186,7 @@ gtc2(_) ->
tc12(_) ->
F = fun() -> ct:abort_current_testcase('stopping tc12') end,
spawn(F),
- timer:sleep(1000),
+ ct:sleep(1000),
exit(should_have_been_aborted).
tc13(_) ->