Merge "Skip socket related unit tests on OSX"
This commit is contained in:
commit
e1e77093ad
@ -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
Block a user