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
Vincent Pelletier
neoppod
Commits
5c78e63e
Commit
5c78e63e
authored
Feb 29, 2012
by
Julien Muchembled
Committed by
Vincent Pelletier
Feb 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes performance tests with SQLite
parent
4dc29017
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
neo/tests/functional/__init__.py
neo/tests/functional/__init__.py
+3
-3
No files found.
neo/tests/functional/__init__.py
View file @
5c78e63e
...
@@ -244,6 +244,9 @@ class NEOCluster(object):
...
@@ -244,6 +244,9 @@ class NEOCluster(object):
self
.
verbose
=
verbose
self
.
verbose
=
verbose
self
.
uuid_set
=
set
()
self
.
uuid_set
=
set
()
self
.
db_list
=
db_list
self
.
db_list
=
db_list
if
temp_dir
is
None
:
temp_dir
=
tempfile
.
mkdtemp
(
prefix
=
'neo_'
)
print
'Using temp directory '
+
temp_dir
if
adapter
==
'MySQL'
:
if
adapter
==
'MySQL'
:
self
.
db_user
=
db_user
self
.
db_user
=
db_user
self
.
db_password
=
db_password
self
.
db_password
=
db_password
...
@@ -256,9 +259,6 @@ class NEOCluster(object):
...
@@ -256,9 +259,6 @@ class NEOCluster(object):
self
.
local_ip
=
local_ip
=
IP_VERSION_FORMAT_DICT
[
self
.
address_type
]
self
.
local_ip
=
local_ip
=
IP_VERSION_FORMAT_DICT
[
self
.
address_type
]
self
.
setupDB
(
clear_databases
)
self
.
setupDB
(
clear_databases
)
self
.
process_dict
=
{}
self
.
process_dict
=
{}
if
temp_dir
is
None
:
temp_dir
=
tempfile
.
mkdtemp
(
prefix
=
'neo_'
)
print
'Using temp directory %r.'
%
(
temp_dir
,
)
self
.
temp_dir
=
temp_dir
self
.
temp_dir
=
temp_dir
self
.
port_allocator
=
PortAllocator
()
self
.
port_allocator
=
PortAllocator
()
admin_port
=
self
.
port_allocator
.
allocate
(
address_type
,
local_ip
)
admin_port
=
self
.
port_allocator
.
allocate
(
address_type
,
local_ip
)
...
...
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