aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-11-20 10:44:11 +0100
committerIngela Anderton Andin <[email protected]>2018-12-20 11:55:52 +0100
commit80bf2fc85178ef011b67437f612d627f4e290e68 (patch)
treed43cb7d87e7cb8be1b11b1521a6d7876c913a682 /lib/ssl/test
parent3825199794da28d79b21052a2e69e2335921d55e (diff)
downloadotp-80bf2fc85178ef011b67437f612d627f4e290e68.tar.gz
otp-80bf2fc85178ef011b67437f612d627f4e290e68.tar.bz2
otp-80bf2fc85178ef011b67437f612d627f4e290e68.zip
ssl: Add static_env record
State values created at init
Diffstat (limited to 'lib/ssl/test')
-rw-r--r--lib/ssl/test/ssl_basic_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl
index 9633800da5..a00fa86b61 100644
--- a/lib/ssl/test/ssl_basic_SUITE.erl
+++ b/lib/ssl/test/ssl_basic_SUITE.erl
@@ -3980,8 +3980,8 @@ tls_tcp_error_propagation_in_active_mode(Config) when is_list(Config) ->
{status, _, _, StatusInfo} = sys:get_status(Pid),
[_, _,_, _, Prop] = StatusInfo,
State = ssl_test_lib:state(Prop),
- Socket = element(11, State),
-
+ StaticEnv = element(2, State),
+ Socket = element(10, StaticEnv),
%% Fake tcp error
Pid ! {tcp_error, Socket, etimedout},