From: Vsevolod Stakhov Date: Sat, 31 Dec 2022 21:37:45 +0000 (+0000) Subject: [Test] Clean up dummy ssl client X-Git-Tag: 3.5~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f227be52b2087e105491fb6b9337df084f84417f;p=rspamd.git [Test] Clean up dummy ssl client --- diff --git a/test/functional/cases/230_tcp.robot b/test/functional/cases/230_tcp.robot index f5591a8b8..9848be07a 100644 --- a/test/functional/cases/230_tcp.robot +++ b/test/functional/cases/230_tcp.robot @@ -58,12 +58,17 @@ Servers Teardown Dummy Http Teardown Dummy Https Teardown Rspamd Teardown + Teardown Dummy Ssl Run Dummy Ssl [Arguments] ${result} = Start Process ${RSPAMD_TESTDIR}/util/dummy_ssl.py ${RSPAMD_TESTDIR}/util/server.pem Wait Until Created /tmp/dummy_ssl.pid timeout=2 second +Teardown Dummy Ssl + ${ssl_pid} = Get File /tmp/dummy_ssl.pid + Shutdown Process With Children ${ssl_pid} + Check url [Arguments] ${url} ${method} ${expect_symbol} @{expect_options} Scan File ${MESSAGE} URL=${url} Method=${method}