Commit 7b81a5a2 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

master.test: Add Logs for configurator and increase tic delay

parent bd1160a2
...@@ -227,12 +227,14 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -227,12 +227,14 @@ 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 4 hours # Delay 4 hours
self.logMessage('SlapOS launchConfigurator start Configuration ...\n')
self.tic(verbose=True, delay=4 * 60 * 60) self.tic(verbose=True, delay=4 * 60 * 60)
# Set post upgrade configurations for the tests # Set post upgrade configurations for the tests
...@@ -240,6 +242,7 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -240,6 +242,7 @@ class testSlapOSMixin(ERP5TypeTestCase):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment