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-12 09:23:52 +0100
commit8439c7a6a6afcfaa6fea17bfa12bf7a693e81f8e (patch)
treed43cb7d87e7cb8be1b11b1521a6d7876c913a682 /lib/ssl/test
parent3825199794da28d79b21052a2e69e2335921d55e (diff)
downloadotp-8439c7a6a6afcfaa6fea17bfa12bf7a693e81f8e.tar.gz
otp-8439c7a6a6afcfaa6fea17bfa12bf7a693e81f8e.tar.bz2
otp-8439c7a6a6afcfaa6fea17bfa12bf7a693e81f8e.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},