You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Raghav Kumar Gautam (JIRA)" <ji...@apache.org> on 2014/11/01 21:54:34 UTC
[jira] [Updated] (FALCON-852) Merlin function testProcessOrderBy()
needs to use string ordering instead of enum ordering
[ 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.patch
Patch is simple - hence not uploading to review board.
Test passed after making the change.
> 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.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)