Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
01bb0bf8
Commit
01bb0bf8
authored
Feb 06, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
(fix syntax error there)
parent
096550b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
neo/tests/threaded/testReplication.py
neo/tests/threaded/testReplication.py
+13
-12
No files found.
neo/tests/threaded/testReplication.py
View file @
01bb0bf8
...
...
@@ -153,14 +153,15 @@ class ReplicationTests(NEOThreadedTest):
# U -> B propagation with Mb -> Sb' (secondary, Replicate from primary Sb) delayed
# TODO also test: "U -> B propagation with Mb -> Sb (Replicate) delayed" ?
from
neo.storage.database
import
manager
as
dbmanager
from
neo.master
import
handlers
as
mhandler
#dbmanager.X = 1
#mhandler.X = 1
# (tid, upstream_name, source_dict)
#return True
#return not upstream_name and all(source_dict.itervalues())
return
upstream_name
!=
""
# from neo.storage.database import manager as dbmanager
# from neo.master import handlers as mhandler
# #dbmanager.X = 1
# #mhandler.X = 1
# # (tid, upstream_name, source_dict)
# #return True
# #return not upstream_name and all(source_dict.itervalues())
# return upstream_name != ""
backup
.
start
()
backup
.
neoctl
.
setClusterState
(
ClusterStates
.
STARTING_BACKUP
)
self
.
tic
()
...
...
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