Commit f4427695 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

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

parent b3c33d1c
...@@ -185,12 +185,14 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -185,12 +185,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
...@@ -198,6 +200,7 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -198,6 +200,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