Commit 8d49cd60 authored by Kirill Smelkov's avatar Kirill Smelkov

X Disable SSL in functional tests

Reason: there are many failures that appear there also on pristine
master, v1.6.3, v.1.6 with both ZODB4 and ZODB3.

Simply disable to be able to see whether my changes do not introduce new errors.
parent fbe26454
......@@ -694,8 +694,35 @@ class NEOCluster(object):
class NEOFunctionalTest(NeoTestBase):
def setUp(self):
if random.randint(0, 1):
NEOCluster.SSL = SSL
# FIXME with SSL we get many errors like
# Traceback (most recent call last):
# File "/home/kirr/src/wendelin/neo/neoppod/neo/tests/functional/__init__.py", line 183, in start
# getattr(neo.scripts, command).main()
# File "/home/kirr/src/wendelin/neo/neoppod/neo/scripts/neomaster.py", line 54, in main
# app.run()
# File "/home/kirr/src/wendelin/neo/neoppod/neo/master/app.py", line 126, in run
# self._run()
# File "/home/kirr/src/wendelin/neo/neoppod/neo/master/app.py", line 143, in _run
# self.electPrimary()
# File "/home/kirr/src/wendelin/neo/neoppod/neo/master/app.py", line 192, in electPrimary
# self.em.poll(1)
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/event.py", line 150, in poll
# self._poll(blocking)
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/event.py", line 215, in _poll
# if conn.readable():
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/connection.py", line 470, in readable
# if self.connector.receive(read_buf):
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/connector.py", line 272, in receive
# self._error('SSL handshake', e)
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/connector.py", line 246, in _error
# SocketConnector._error(self, op, exc)
# File "/home/kirr/src/wendelin/neo/neoppod/neo/lib/connector.py", line 71, in _error
# op, self, errno.errorcode[exc.errno], exc.strerror)
# KeyError: 0
#
# and then many timeouts & other failures
#if random.randint(0, 1):
# NEOCluster.SSL = SSL
super(NEOFunctionalTest, self).setUp()
def _tearDown(self, success):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment