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
Jérome Perrin
neoppod
Commits
180e8f6a
Commit
180e8f6a
authored
Mar 21, 2017
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qa: skip election in SSLTests.testShutdown due to random failures
parent
655a4ea9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+5
-2
neo/tests/threaded/testSSL.py
neo/tests/threaded/testSSL.py
+9
-1
No files found.
neo/tests/threaded/test.py
View file @
180e8f6a
...
...
@@ -818,8 +818,11 @@ class Test(NEOThreadedTest):
@
with_cluster
(
master_count
=
3
,
partitions
=
10
,
replicas
=
1
,
storage_count
=
3
)
def
testShutdown
(
self
,
cluster
):
# BUG: Due to bugs in election, master nodes sometimes crash, or they
# declare themselves primary too quickly. The consequence is
# often an endless tic loop.
# declare themselves primary too quickly, but issues seem to be
# only reproducible with SSL enabled.
self
.
_testShutdown
(
cluster
)
def
_testShutdown
(
self
,
cluster
):
if
1
:
# fill DB a little
t
,
c
=
cluster
.
getTransaction
()
...
...
neo/tests/threaded/testSSL.py
View file @
180e8f6a
...
...
@@ -17,7 +17,7 @@
import
unittest
from
neo.lib.protocol
import
Packets
from
..
import
SSL
from
.
import
NEOCluster
,
test
,
testReplication
from
.
import
NEOCluster
,
with_cluster
,
test
,
testReplication
class
SSLMixin
:
...
...
@@ -36,6 +36,14 @@ class SSLTests(SSLMixin, test.Test):
testDeadlockAvoidance
=
None
testUndoConflict
=
testUndoConflictDuringStore
=
None
if
1
:
testShutdownWithSeveralMasterNodes
=
unittest
.
skip
(
"fails randomly"
)(
test
.
Test
.
testShutdown
.
__func__
)
@
with_cluster
(
partitions
=
10
,
replicas
=
1
,
storage_count
=
3
)
def
testShutdown
(
self
,
cluster
):
self
.
_testShutdown
(
cluster
)
def
testAbortConnection
(
self
,
after_handshake
=
1
):
with
self
.
getLoopbackConnection
()
as
conn
:
conn
.
ask
(
Packets
.
Ping
())
...
...
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