Merge "Skip socket related unit tests on OSX"

This commit is contained in:
Jenkins 2015-03-27 18:50:49 +00:00 committed by Gerrit Code Review
commit e1e77093ad

View File

@ -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)