diff options
-rw-r--r-- | lib/ssh/test/ssh_sup_SUITE.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sup_SUITE.erl b/lib/ssh/test/ssh_sup_SUITE.erl index 554fb63ad8..0f60d0ef79 100644 --- a/lib/ssh/test/ssh_sup_SUITE.erl +++ b/lib/ssh/test/ssh_sup_SUITE.erl @@ -411,17 +411,20 @@ check_sshc_system_tree(SysSup, Connection, LocalIP, LocalPort, _Config) -> ?wait_match([{_,SubSysSup,supervisor,[ssh_subsystem_sup]}], supervisor:which_children(SysSup), [SubSysSup]), - ?wait_match([{{client,ssh_connection_sup, LocalIP, LocalPort}, + ?wait_match([{_,FwdAccSup, supervisor, + [ssh_tcpip_forward_acceptor_sup]}, + {{client,ssh_connection_sup, LocalIP, LocalPort}, ConnectionSup, supervisor, [ssh_connection_sup]}, {{client,ssh_channel_sup, LocalIP, LocalPort}, ChannelSup,supervisor, [ssh_channel_sup]}], supervisor:which_children(SubSysSup), - [ConnectionSup,ChannelSup]), + [ConnectionSup,ChannelSup,FwdAccSup]), ?wait_match([{_, Connection, worker,[ssh_connection_handler]}], supervisor:which_children(ConnectionSup)), ?wait_match([], supervisor:which_children(ChannelSup)), + ?wait_match([], supervisor:which_children(FwdAccSup)), {ok,ChPid1} = ssh_sftp:start_channel(Connection), ?wait_match([{_,ChPid1,worker,[ssh_client_channel]}], |