diff options
author | Ingela Anderton Andin <[email protected]> | 2015-03-02 16:12:49 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-03-09 10:29:55 +0100 |
commit | d4fd18e715954d0310deb4ccbedebe0bddcef82c (patch) | |
tree | 6a7ca86710f476f3bea90dfbac02a1f38825ef83 /lib | |
parent | 4e0a5e36b38e3f15ed8f7d700d26f2424a47111c (diff) | |
download | otp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.tar.gz otp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.tar.bz2 otp-d4fd18e715954d0310deb4ccbedebe0bddcef82c.zip |
ssl: fix white box tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/test/ssl_pem_cache_SUITE.erl | 6 | ||||
-rw-r--r-- | lib/ssl/test/ssl_session_cache_SUITE.erl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssl/test/ssl_pem_cache_SUITE.erl b/lib/ssl/test/ssl_pem_cache_SUITE.erl index 843079e2fe..23584dfcdf 100644 --- a/lib/ssl/test/ssl_pem_cache_SUITE.erl +++ b/lib/ssl/test/ssl_pem_cache_SUITE.erl @@ -113,9 +113,9 @@ get_pem_cache() -> {status, _, _, StatusInfo} = sys:get_status(whereis(ssl_manager)), [_, _,_, _, Prop] = StatusInfo, State = ssl_test_lib:state(Prop), - case element(5, State) of - [_CertDb, _FileRefDb, PemChace] -> - PemChace; + case element(6, State) of + [_CertDb, _FileRefDb, PemCache| _] -> + PemCache; _ -> undefined end. diff --git a/lib/ssl/test/ssl_session_cache_SUITE.erl b/lib/ssl/test/ssl_session_cache_SUITE.erl index d7fafb1b53..36d086338e 100644 --- a/lib/ssl/test/ssl_session_cache_SUITE.erl +++ b/lib/ssl/test/ssl_session_cache_SUITE.erl @@ -174,7 +174,7 @@ session_cleanup(Config)when is_list(Config) -> State = ssl_test_lib:state(Prop), ClientCache = element(2, State), ServerCache = element(3, State), - SessionTimer = element(9, State), + SessionTimer = element(7, State), Id = proplists:get_value(session_id, SessionInfo), CSession = ssl_session_cache:lookup(ClientCache, {{Hostname, Port}, Id}), @@ -217,7 +217,7 @@ get_delay_timers() -> {status, _, _, StatusInfo} = sys:get_status(whereis(ssl_manager)), [_, _,_, _, Prop] = StatusInfo, State = ssl_test_lib:state(Prop), - case element(10, State) of + case element(8, State) of {undefined, undefined} -> ct:sleep(?SLEEP), get_delay_timers(); |