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
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
1cdf18b6
Commit
1cdf18b6
authored
Aug 23, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In functional tests, rename NEOCluster parameter with misleading name
parent
b7fdd53f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
neo/tests/functional/__init__.py
neo/tests/functional/__init__.py
+4
-4
No files found.
neo/tests/functional/__init__.py
View file @
1cdf18b6
...
@@ -237,7 +237,7 @@ class NEOCluster(object):
...
@@ -237,7 +237,7 @@ class NEOCluster(object):
db_user
=
DB_USER
,
db_password
=
''
,
name
=
None
,
db_user
=
DB_USER
,
db_password
=
''
,
name
=
None
,
cleanup_on_delete
=
False
,
temp_dir
=
None
,
clear_databases
=
True
,
cleanup_on_delete
=
False
,
temp_dir
=
None
,
clear_databases
=
True
,
adapter
=
os
.
getenv
(
'NEO_TESTS_ADAPTER'
),
adapter
=
os
.
getenv
(
'NEO_TESTS_ADAPTER'
),
address_type
=
ADDRESS_TYPE
,
bind_ip
=
None
,
log
file
=
True
,
address_type
=
ADDRESS_TYPE
,
bind_ip
=
None
,
log
ger
=
True
,
):
):
if
not
adapter
:
if
not
adapter
:
adapter
=
'MySQL'
adapter
=
'MySQL'
...
@@ -274,14 +274,14 @@ class NEOCluster(object):
...
@@ -274,14 +274,14 @@ class NEOCluster(object):
buildUrlFromString
(
self
.
local_ip
),
x
,
)
buildUrlFromString
(
self
.
local_ip
),
x
,
)
for
x
in
master_node_list
)
for
x
in
master_node_list
)
# create admin node
# create admin node
self
.
_newProcess
(
NodeTypes
.
ADMIN
,
log
file
and
'admin'
,
admin_port
)
self
.
_newProcess
(
NodeTypes
.
ADMIN
,
log
ger
and
'admin'
,
admin_port
)
# create master nodes
# create master nodes
for
i
,
port
in
enumerate
(
master_node_list
):
for
i
,
port
in
enumerate
(
master_node_list
):
self
.
_newProcess
(
NodeTypes
.
MASTER
,
log
file
and
'master_%u'
%
i
,
self
.
_newProcess
(
NodeTypes
.
MASTER
,
log
ger
and
'master_%u'
%
i
,
port
,
partitions
=
partitions
,
replicas
=
replicas
)
port
,
partitions
=
partitions
,
replicas
=
replicas
)
# create storage nodes
# create storage nodes
for
i
,
db
in
enumerate
(
db_list
):
for
i
,
db
in
enumerate
(
db_list
):
self
.
_newProcess
(
NodeTypes
.
STORAGE
,
log
file
and
'storage_%u'
%
i
,
self
.
_newProcess
(
NodeTypes
.
STORAGE
,
log
ger
and
'storage_%u'
%
i
,
0
,
adapter
=
adapter
,
database
=
self
.
db_template
(
db
))
0
,
adapter
=
adapter
,
database
=
self
.
db_template
(
db
))
# create neoctl
# create neoctl
self
.
neoctl
=
NeoCTL
((
self
.
local_ip
,
admin_port
))
self
.
neoctl
=
NeoCTL
((
self
.
local_ip
,
admin_port
))
...
...
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