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
949f7e0f
Commit
949f7e0f
authored
Nov 25, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threaded: fix typo
parent
34a2fea3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
neo/tests/threaded/__init__.py
neo/tests/threaded/__init__.py
+1
-1
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+3
-3
No files found.
neo/tests/threaded/__init__.py
View file @
949f7e0f
...
...
@@ -729,7 +729,7 @@ class NEOCluster(object):
if
node
[
2
]
==
uuid
:
return
node
[
3
]
def
getOudatedCells
(
self
):
def
getOu
t
datedCells
(
self
):
return
[
cell
for
row
in
self
.
neoctl
.
getPartitionRowList
()[
1
]
for
cell
in
row
[
1
]
if
cell
[
1
]
==
CellStates
.
OUT_OF_DATE
]
...
...
neo/tests/threaded/test.py
View file @
949f7e0f
...
...
@@ -383,7 +383,7 @@ class Test(NEOThreadedTest):
s1
,
s2
=
cluster
.
storage_list
try
:
cluster
.
start
()
self
.
assertEqual
([],
cluster
.
getOudatedCells
())
self
.
assertEqual
([],
cluster
.
getOu
t
datedCells
())
finally
:
cluster
.
stop
()
# restart it with one storage only
...
...
@@ -507,13 +507,13 @@ class Test(NEOThreadedTest):
try
:
cluster
.
start
()
checkNodeState
(
NodeStates
.
RUNNING
)
self
.
assertEqual
([],
cluster
.
getOudatedCells
())
self
.
assertEqual
([],
cluster
.
getOu
t
datedCells
())
# drop one
cluster
.
neoctl
.
dropNode
(
s1
.
uuid
)
checkNodeState
(
None
)
self
.
tic
()
# Let node state update reach remaining storage
checkNodeState
(
None
)
self
.
assertEqual
([],
cluster
.
getOudatedCells
())
self
.
assertEqual
([],
cluster
.
getOu
t
datedCells
())
# restart with s2 only
finally
:
cluster
.
stop
()
...
...
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