Santhosh Kumar Shanmugham created AURORA-1913:
-------------------------------------------------
Summary: Aurora Client Job Update Diff output is erroneous
Key: AURORA-1913
URL: https://issues.apache.org/jira/browse/AURORA-1913
Project: Aurora
Issue Type: Bug
Components: Client
Reporter: Santhosh Kumar Shanmugham
Priority: Minor
The {{TaskConfig}} diff shown by Aurora Client is not sorting the individual
entities (which are sets) which results in a confusing output. We need to sort
the individual fields inside the config to return a more meaningful output.
Although the {{host}} and {{rack}} limit constraints have not changed, the diff
still outputs the below,
{code}
< 'constraints': set([ Constraint(name='rack',
constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
---
> 'constraints': set([ Constraint(name='host',
> constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
4,5c4,5
< Constraint(name='host',
constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None))]),
---
> Constraint(name='rack',
> constraint=TaskConstraint(limit=LimitConstraint(limit=1), value=None)),
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)