Skip socket related unit tests on OSX
For now, let's skip these two tests since SO_REUSEADDR behaves differently. Closes-Bug: #1436895 Change-Id: I3bcd3edca2057a3990bf2cca6d2871555bd0123a
This commit is contained in:
parent
86c861119b
commit
e9c48d5c36
|
@ -127,6 +127,8 @@ class TestWSGIServer(test.NoDBTestCase):
|
|||
server.stop()
|
||||
server.wait()
|
||||
|
||||
@testtools.skipIf(utils.is_osx(), 'SO_REUSEADDR behaves differently'
|
||||
' on OSX, see bug 1436895')
|
||||
def test_socket_options_for_simple_server(self):
|
||||
# test normal socket options has set properly
|
||||
self.flags(tcp_keepidle=500)
|
||||
|
@ -288,6 +290,8 @@ class TestWSGIServerWithSSL(test.NoDBTestCase):
|
|||
fake_ssl_server.stop()
|
||||
fake_ssl_server.wait()
|
||||
|
||||
@testtools.skipIf(utils.is_osx(), 'SO_REUSEADDR behaves differently'
|
||||
' on OSX, see bug 1436895')
|
||||
def test_socket_options_for_ssl_server(self):
|
||||
# test normal socket options has set properly
|
||||
self.flags(tcp_keepidle=500)
|
||||
|
|
Loading…
Reference in New Issue