diff options
Diffstat (limited to 'test/net')
-rw-r--r-- | test/net/smtp/test_sslcontext.rb | 2 | ||||
-rw-r--r-- | test/net/smtp/test_starttls.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/net/smtp/test_sslcontext.rb b/test/net/smtp/test_sslcontext.rb index dd741cf396..4f1dcfe669 100644 --- a/test/net/smtp/test_sslcontext.rb +++ b/test/net/smtp/test_sslcontext.rb @@ -33,7 +33,7 @@ module Net end def teardown - @server_thread&.exit + @server_thread&.exit&.join @server_socket&.close @client_socket&.close end diff --git a/test/net/smtp/test_starttls.rb b/test/net/smtp/test_starttls.rb index a0855b915e..4a29fa6d70 100644 --- a/test/net/smtp/test_starttls.rb +++ b/test/net/smtp/test_starttls.rb @@ -19,7 +19,7 @@ module Net end def teardown - @server_thread&.exit + @server_thread&.exit&.join @server_socket&.close @client_socket&.close end |