falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav Kumar Gautam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-852) Merlin function testProcessOrderBy() needs to use string ordering instead of enum ordering
Date Sat, 01 Nov 2014 20:54:34 GMT

     [ 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)

Mime
View raw message