aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-10-10 10:14:59 +0200
committerSiri Hansen <[email protected]>2017-11-09 15:16:00 +0100
commit29b62ab563d1965c6df418c7387b7145b1648c06 (patch)
tree6a0b6b52a791c917ec4814d39a7fec9923b72d60 /lib/sasl/test
parent7eb7be84fe707e806b5fd14330de164ef8290cc4 (diff)
downloadotp-29b62ab563d1965c6df418c7387b7145b1648c06.tar.gz
otp-29b62ab563d1965c6df418c7387b7145b1648c06.tar.bz2
otp-29b62ab563d1965c6df418c7387b7145b1648c06.zip
[supervisor] Store children in map instead of list
Diffstat (limited to 'lib/sasl/test')
-rw-r--r--lib/sasl/test/release_handler_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sasl/test/release_handler_SUITE.erl b/lib/sasl/test/release_handler_SUITE.erl
index 63b48e7a4e..4935782cf2 100644
--- a/lib/sasl/test/release_handler_SUITE.erl
+++ b/lib/sasl/test/release_handler_SUITE.erl
@@ -1384,9 +1384,9 @@ upgrade_supervisor(Conf) when is_list(Conf) ->
%% Check that the restart strategy and child spec is updated
{status, _, {module, _}, [_, _, _, _, [_,_,{data,[{"State",State}]}|_]]} =
rpc:call(Node,sys,get_status,[a_sup]),
- {state,_,RestartStrategy,[Child],_,_,_,_,_,_,_} = State,
+ {state,_,RestartStrategy,{[a],Db},_,_,_,_,_,_,_} = State,
one_for_all = RestartStrategy, % changed from one_for_one
- {child,_,_,_,_,brutal_kill,_,_} = Child, % changed from timeout 2000
+ {child,_,_,_,_,brutal_kill,_,_} = maps:get(a,Db), % changed from timeout 2000
ok.