aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/140_proxy.robot
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-17 16:45:51 +0100
committerGitHub <noreply@github.com>2016-10-17 16:45:51 +0100
commitf4acd9ba6f492526a2364c814c8a4704b7f8f8ce (patch)
tree8e9ce72cbfa41de2c8b56eeee9d33241ece1ef78 /test/functional/cases/140_proxy.robot
parent5dabd901c9015b0efa6930aa13988ff47278ebcc (diff)
parentb4173ec5154ca05eebe9a5ff583dcedcba1f7e76 (diff)
downloadrspamd-f4acd9ba6f492526a2364c814c8a4704b7f8f8ce.tar.gz
rspamd-f4acd9ba6f492526a2364c814c8a4704b7f8f8ce.zip
Merge pull request #1044 from fatalbanana/ports
[Test] Wait for ports to be confirmed-free inbetween runs
Diffstat (limited to 'test/functional/cases/140_proxy.robot')
-rw-r--r--test/functional/cases/140_proxy.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/cases/140_proxy.robot b/test/functional/cases/140_proxy.robot
index 7b29f188a..42297ea62 100644
--- a/test/functional/cases/140_proxy.robot
+++ b/test/functional/cases/140_proxy.robot
@@ -47,3 +47,8 @@ Proxy Teardown
Shutdown Process With Children ${SLAVE_PID}
Cleanup Temporary Directory ${PROXY_TMPDIR}
Cleanup Temporary Directory ${SLAVE_TMPDIR}
+ ${port_normal} = Create List ${SOCK_STREAM} ${LOCAL_ADDR} ${PORT_NORMAL}
+ ${port_proxy} = Create List ${SOCK_STREAM} ${LOCAL_ADDR} ${PORT_PROXY}
+ ${ports} = Create List ${port_normal} ${port_proxy}
+ : FOR ${i} IN @{ports}
+ \ Wait For Port @{i}[0] @{i}[1] @{i}[2]