Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
39b34a38
Commit
39b34a38
authored
Mar 17, 2023
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master.test: Add Logs for configurator and increase tic delay
parent
52799122
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+5
-2
No files found.
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
39b34a38
...
@@ -217,19 +217,22 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -217,19 +217,22 @@ class testSlapOSMixin(ERP5TypeTestCase):
response_dict
=
self
.
portal
.
portal_configurator
.
_next
(
response_dict
=
self
.
portal
.
portal_configurator
.
_next
(
business_configuration
,
{})
business_configuration
,
{})
self
.
tic
()
self
.
logMessage
(
'SlapOS launchConfigurator configurator set up ...
\
n
'
)
self
.
tic
(
verbose
=
True
,
delay
=
2
*
60
*
60
)
self
.
portal
.
portal_configurator
.
startInstallation
(
self
.
portal
.
portal_configurator
.
startInstallation
(
business_configuration
,
REQUEST
=
self
.
portal
.
REQUEST
)
business_configuration
,
REQUEST
=
self
.
portal
.
REQUEST
)
self
.
portal
.
portal_types
.
resetDynamicDocumentsOnceAtTransactionBoundary
()
self
.
portal
.
portal_types
.
resetDynamicDocumentsOnceAtTransactionBoundary
()
# Delay 2 hours
# Delay 2 hours
self
.
tic
(
verbose
=
True
,
delay
=
2
*
60
*
60
)
self
.
logMessage
(
'SlapOS launchConfigurator start Configuration ...
\
n
'
)
self
.
tic
(
verbose
=
True
,
delay
=
4
*
60
*
60
)
# Set post upgrade configurations for the tests
# Set post upgrade configurations for the tests
preference_tool
=
self
.
portal
.
portal_preferences
.
portal_preferences
preference_tool
=
self
.
portal
.
portal_preferences
.
portal_preferences
preference_tool
.
slapos_default_system_preference
.
setPreferredHateoasUrl
(
"http://dummy/"
)
preference_tool
.
slapos_default_system_preference
.
setPreferredHateoasUrl
(
"http://dummy/"
)
preference_tool
.
slapos_default_system_preference
.
setPreferredAuthenticationPolicyEnabled
(
True
)
preference_tool
.
slapos_default_system_preference
.
setPreferredAuthenticationPolicyEnabled
(
True
)
self
.
logMessage
(
'SlapOS launchConfigurator set Preferences ...
\
n
'
)
self
.
tic
()
self
.
tic
()
self
.
clearCache
()
self
.
clearCache
()
...
...
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