Commit 294f2c76 authored by Jérome Perrin's avatar Jérome Perrin

scalability_test: better guessing of distributing node

this script supported the case of a cluster with only activity family
and no distributing family, in that case one node from activity family
was used for distribution, but this node was also used for activity
processing.
This change to use the node only as distribution and not processing in
that case, because it's not recommended to use a node both for
distribution and processing
parent 701e8bea
...@@ -20,6 +20,7 @@ if distribution_node_list: ...@@ -20,6 +20,7 @@ if distribution_node_list:
if distribution_node is None: if distribution_node is None:
distribution_node = activity_node_list[0] distribution_node = activity_node_list[0]
activity_node_list = activity_node_list[1:]
# default ERP5 instanciation uses following schema for naming all zope nodes # default ERP5 instanciation uses following schema for naming all zope nodes
# activities-0..9 when number of nodes <= 10 # activities-0..9 when number of nodes <= 10
# activites-01..09 (or n) when number of nodes > 10 # activites-01..09 (or n) when number of nodes > 10
......
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