]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Clean up dummy ssl client
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 31 Dec 2022 21:37:45 +0000 (21:37 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 31 Dec 2022 21:37:45 +0000 (21:37 +0000)
test/functional/cases/230_tcp.robot

index f5591a8b87b62329b2ffed5fdaa9b24e014090f6..9848be07acc85de868df01982174fb9763703f15 100644 (file)
@@ -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}