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 bug is fixed. This also enables
other test cases in this module.

Related-Bug: #1482633
Partially-Implements: blueprint goal-python35

Change-Id: I4933e47b0759716f387ec26e3bd8a4e725eb4f91
This commit is contained in:
ChangBo Guo(gcb) 2017-01-28 21:33:45 +08:00
parent 957bd1fdcb
commit 1b7191f4f2
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,7 @@ import eventlet.wsgi
import mock
from oslo_config import cfg
import requests
import six
import testtools
import webob
@ -224,6 +225,7 @@ class TestWSGIServer(test.NoDBTestCase):
server.stop()
@testtools.skipIf(six.PY3, "bug/1482633: test hangs on Python 3")
class TestWSGIServerWithSSL(test.NoDBTestCase):
"""WSGI server with SSL tests."""

View File

@ -1,5 +1,3 @@
nova.tests.unit.test_wsgi.TestWSGIServerWithSSL
##########################################################################
# NOTE(dims): The following tests randomly fail in the gate. Please be
# careful before you re-enable them