commit | fe11c48ee185c9aead78d0c67c644c575df255a8 | [log] [tgz] |
---|---|---|
author | junnplus <junnplus@gmail.com> | Sat Jan 12 02:15:05 2019 +0800 |
committer | James E. King III <jking@apache.org> | Mon Jan 14 12:10:24 2019 -0500 |
tree | 1ab58eef8ffabba6ddf48edf712556857a19f99f | |
parent | 4eac57abcfc5f6fb591d894fe446add243392557 [diff] [blame] |
THRIFT-4733: Fix test unix socket address already in use
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 @@ 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)