lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 65b76ca0 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Process activities bt5 per bt5 upon installation in unit tests.

When installing many bt5, many activities are generated which may take a very
long time to process, instead process them bt5 per bt5 to avoid such issue.
parent e14b3cc0
......@@ -964,6 +964,11 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
if not quiet:
ZopeTestCase._print('done (%.3fs)\n' % (time.time() - start))
# Process Activities after each bt5 installation, otherwise processing
# Activities can take forever when installing masterdata bt5s as it
# generate many activities
self.tic(verbose=1)
def setUpERP5Site(self,
business_template_list=(),
quiet=0,
......
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