new test Topologoy73, different schedulingRules for operators and queues

parent d2847ec3
This diff is collapsed.
...@@ -398,6 +398,8 @@ class Router(ObjectInterruption): ...@@ -398,6 +398,8 @@ class Router(ObjectInterruption):
if len(operator.candidateEntities[0].candidateReceivers)==1: if len(operator.candidateEntities[0].candidateReceivers)==1:
operatorsWithOneOption.append(operator) operatorsWithOneOption.append(operator)
# TODO: the operator here actually chooses entity. This may pose a problem as two entities may be equivalent
# and as the operators chooses the sorting of the queue (if they do reside in the same queue is not taken into account)
# sort the candidateEntities list of each operator according to its schedulingRule # sort the candidateEntities list of each operator according to its schedulingRule
for operator in [x for x in self.candidateOperators if x.candidateEntities]: for operator in [x for x in self.candidateOperators if x.candidateEntities]:
operator.sortCandidateEntities() operator.sortCandidateEntities()
......
This diff is collapsed.
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