Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Ekaterina
erp5
Commits
cc019f71
Commit
cc019f71
authored
Sep 13, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update volatile memcached connection string when test instance is generated or loaded.
parent
5f2d7bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+3
-1
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
cc019f71
...
...
@@ -909,6 +909,8 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
connection_dict
=
_getVolatileMemcachedServerDict
()
url_string
=
'%(hostname)s:%(port)s'
%
connection_dict
portal_memcached
.
default_memcached_plugin
.
setUrlString
(
url_string
)
portal_caches
=
self
.
portal
.
portal_caches
portal_caches
.
updateCache
()
def
_recreateCatalog
(
self
,
quiet
=
0
):
"""Clear activities and catalog and recatalog everything.
...
...
@@ -1053,6 +1055,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
# Release locks
self
.
commit
()
self
.
portal
=
portal
=
self
.
getPortal
()
self
.
_updateMemcachedConfiguration
()
if
len
(
setup_done
)
==
1
:
# make sure it is run only once
self
.
_setUpDummyMailHost
()
...
...
@@ -1066,7 +1069,6 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
light_install
=
light_install
,
quiet
=
quiet
)
self
.
_updateConversionServerConfiguration
()
self
.
_updateMemcachedConfiguration
()
# Create a Manager user at the Portal level
uf
=
self
.
getPortal
().
acl_users
uf
.
_doAddUser
(
'ERP5TypeTestCase'
,
''
,
[
'Manager'
,
'Member'
,
'Assignee'
,
...
...
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