[
https://issues.apache.org/jira/browse/FALCON-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raghav Kumar Gautam updated FALCON-852:
---------------------------------------
Attachment: FALCON-852-2.patch
Found the same issue at one more place. Updating my patch.
> Merlin function testProcessOrderBy() needs to use string ordering instead of
> enum ordering
> ------------------------------------------------------------------------------------------
>
> Key: FALCON-852
> URL: https://issues.apache.org/jira/browse/FALCON-852
> Project: Falcon
> Issue Type: Bug
> Components: merlin
> Affects Versions: 0.6
> Reporter: Raghav Kumar Gautam
> Assignee: Raghav Kumar Gautam
> Fix For: 0.6
>
> Attachments: FALCON-852-2.patch, FALCON-852.patch
>
>
> we have code:
> {code}
> InstancesResult.WorkflowStatus current = instance.getStatus();
> softAssert.assertTrue(current.compareTo(previousStatus) <= 0,
> "Wrong order. Compared " + current + " and " + previousStatus
> + " statuses.");
> {code}
> since current and previous dates are enums it results in enum comparison we
> want string comparison at this point.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)