aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-04-26 10:08:34 +0200
committerHans Nilsson <[email protected]>2018-04-26 10:08:34 +0200
commit1e2c6ae584f82b984af382de4d8290366e96c63c (patch)
treeef8987c9823f027749927559a44383f0aec86f85 /lib
parented4a3e682c28b6bfda7008f627f1bf3e748ba211 (diff)
downloadotp-1e2c6ae584f82b984af382de4d8290366e96c63c.tar.gz
otp-1e2c6ae584f82b984af382de4d8290366e96c63c.tar.bz2
otp-1e2c6ae584f82b984af382de4d8290366e96c63c.zip
ssh: Test case fix
The daemon kill is now so fast that the clients does not react fast enough in ssh_sup_SUITE:killed_acceptor_restarts/1
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/test/ssh_sup_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sup_SUITE.erl b/lib/ssh/test/ssh_sup_SUITE.erl
index b145066c36..4e7169d927 100644
--- a/lib/ssh/test/ssh_sup_SUITE.erl
+++ b/lib/ssh/test/ssh_sup_SUITE.erl
@@ -256,8 +256,8 @@ killed_acceptor_restarts(Config) ->
ok = ssh:stop_daemon(DaemonPid),
?wait_match(undefined, process_info(DaemonPid), 1000, 30),
- {error,closed} = ssh:connection_info(C1,[client_version]),
- {error,closed} = ssh:connection_info(C2,[client_version]).
+ ?wait_match({error,closed}, ssh:connection_info(C1,[client_version]), 1000, 5),
+ ?wait_match({error,closed}, ssh:connection_info(C2,[client_version]), 1000, 5).
%%-------------------------------------------------------------------------
shell_channel_tree(Config) ->