aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-09-13 17:34:58 +0200
committerIngela Anderton Andin <[email protected]>2016-09-13 17:43:17 +0200
commit76e01b7cb9192b75773db051c665d3080bf960b0 (patch)
tree68199445d76b71276cf602d8d68512c7ba1cd2d6 /lib/ssl
parent81bec08c0ed2058e0030aeea874a1cfdb723f2f5 (diff)
downloadotp-76e01b7cb9192b75773db051c665d3080bf960b0.tar.gz
otp-76e01b7cb9192b75773db051c665d3080bf960b0.tar.bz2
otp-76e01b7cb9192b75773db051c665d3080bf960b0.zip
ssl: Add timetrap scale calls
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/ssl_packet_SUITE.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_packet_SUITE.erl b/lib/ssl/test/ssl_packet_SUITE.erl
index dd48c3c329..fd39a4923b 100644
--- a/lib/ssl/test/ssl_packet_SUITE.erl
+++ b/lib/ssl/test/ssl_packet_SUITE.erl
@@ -278,6 +278,7 @@ packet_raw_active_once_many_small() ->
[{doc,"Test packet option {packet, raw} in active once mode."}].
packet_raw_active_once_many_small(Config) when is_list(Config) ->
+ ct:timetrap({seconds, ?BASE_TIMEOUT_SECONDS * ?MANY_SCALE}),
Data = "Packet option is {packet, raw}",
packet(Config, Data, send_raw, active_once_raw, ?MANY, raw, once).
@@ -394,6 +395,7 @@ packet_0_active_some_big() ->
[{doc,"Test packet option {packet, 0} in active mode."}].
packet_0_active_some_big(Config) when is_list(Config) ->
+ ct:timetrap({seconds, ?BASE_TIMEOUT_SECONDS * ?SOME_SCALE}),
Data = lists:append(lists:duplicate(100, "1234567890")),
packet(Config, Data, send, active_raw, ?SOME, 0, true).
@@ -429,6 +431,7 @@ packet_2_active_some_big() ->
[{doc,"Test packet option {packet, 2} in active mode"}].
packet_2_active_some_big(Config) when is_list(Config) ->
+ ct:timetrap({seconds, ?BASE_TIMEOUT_SECONDS * ?SOME_SCALE}),
Data = lists:append(lists:duplicate(100, "1234567890")),
packet(Config, Data, send, active_packet, ?SOME, 2, true).