Skip unit tests for SSL + py3
When we request something from SSL wrapped app using py3 and we do not get answer at all. In case of unit tests we face test timeout. So, skip these tests until related b_u_g is fixed. Change-Id: I809668e5c04b7ace45291e3d1bfd743853f55918 Related-Bug: #1482633 Partially-Implements: bp py3-compatibility
This commit is contained in:
parent
45bb88c6e2
commit
596b340562
|
@ -156,6 +156,7 @@ class TestWSGIServer(test.TestCase):
|
|||
"test_app", lambda *args, **kwargs: None, host="127.0.0.1", port=0)
|
||||
self.assertEqual(client_socket_timeout, server.client_socket_timeout)
|
||||
|
||||
@testtools.skipIf(six.PY3, "bug/1482633")
|
||||
def test_app_using_ssl(self):
|
||||
CONF.set_default("ssl_cert_file",
|
||||
os.path.join(TEST_VAR_DIR, 'certificate.crt'))
|
||||
|
@ -188,6 +189,7 @@ class TestWSGIServer(test.TestCase):
|
|||
"Test requires an IPV6 configured interface")
|
||||
@testtools.skipIf(utils.is_eventlet_bug105(),
|
||||
'Eventlet bug #105 affect test results.')
|
||||
@testtools.skipIf(six.PY3, "bug/1482633")
|
||||
def test_app_using_ipv6_and_ssl(self):
|
||||
CONF.set_default("ssl_cert_file",
|
||||
os.path.join(TEST_VAR_DIR, 'certificate.crt'))
|
||||
|
|
Loading…
Reference in New Issue