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
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
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
Show 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):
response_dict
=
self
.
portal
.
portal_configurator
.
_next
(
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
(
business_configuration
,
REQUEST
=
self
.
portal
.
REQUEST
)
self
.
portal
.
portal_types
.
resetDynamicDocumentsOnceAtTransactionBoundary
()
# 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
preference_tool
=
self
.
portal
.
portal_preferences
.
portal_preferences
preference_tool
.
slapos_default_system_preference
.
setPreferredHateoasUrl
(
"http://dummy/"
)
preference_tool
.
slapos_default_system_preference
.
setPreferredAuthenticationPolicyEnabled
(
True
)
self
.
logMessage
(
'SlapOS launchConfigurator set Preferences ...
\
n
'
)
self
.
tic
()
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