This is an automated email from the ASF dual-hosted git repository.
jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new fe11c48 THRIFT-4733: Fix test unix socket address already in use
fe11c48 is described below
commit fe11c48ee185c9aead78d0c67c644c575df255a8
Author: junnplus <[email protected]>
AuthorDate: Sat Jan 12 02:15:05 2019 +0800
THRIFT-4733: Fix test unix socket address already in use
---
lib/py/test/test_sslsocket.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/py/test/test_sslsocket.py b/lib/py/test/test_sslsocket.py
index f1344e5..598c174 100644
--- a/lib/py/test/test_sslsocket.py
+++ b/lib/py/test/test_sslsocket.py
@@ -213,6 +213,7 @@ class TSSLSocketTest(unittest.TestCase):
return
fd, path = tempfile.mkstemp()
os.close(fd)
+ os.unlink(path)
try:
server = self._server_socket(unix_socket=path, keyfile=SERVER_KEY,
certfile=SERVER_CERT)
self._assert_connection_success(server, path=path,
cert_reqs=ssl.CERT_NONE)