Commit a4c32948 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: fix flaky test_long_request_interrupted_on_default_family

The default family was also processing activities, so it happened
sometimes that the zope does not respond in time because it's processing
activities. Create a dedicated activity family so that the default zope
is available to serve requests.
parent d69a93dc
Pipeline #22166 failed with stage
...@@ -883,12 +883,18 @@ class TestZopePublisherTimeout(ZopeSkinsMixin, ERP5InstanceTestCase): ...@@ -883,12 +883,18 @@ class TestZopePublisherTimeout(ZopeSkinsMixin, ERP5InstanceTestCase):
}, },
}, },
"zope-partition-dict": { "zope-partition-dict": {
# a family to process activities, so that our test
# does not hit a zope node processing activities
"activity": {
"family": "activity",
},
"default": { "default": {
"family": "default", "family": "default",
"port-base": 2210,
}, },
"no-timeout": { "no-timeout": {
"family": "no-timeout", "family": "no-timeout",
"port-base": 2300, "port-base": 22220,
}, },
}, },
}) })
......
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