Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
b26cddf9
Commit
b26cddf9
authored
Apr 05, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
102d46ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
29 deletions
+2
-29
neo/tests/functional/__init__.py
neo/tests/functional/__init__.py
+2
-29
No files found.
neo/tests/functional/__init__.py
View file @
b26cddf9
...
...
@@ -701,35 +701,8 @@ class NEOCluster(object):
class
NEOFunctionalTest
(
NeoTestBase
):
def
setUp
(
self
):
# 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
if
random
.
randint
(
0
,
1
):
NEOCluster
.
SSL
=
SSL
super
(
NEOFunctionalTest
,
self
).
setUp
()
def
_tearDown
(
self
,
success
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment