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:53:33 UTC
[jira] [Created] (FALCON-852) Merlin function testProcessOrderBy()
needs to use string ordering instead of enum ordering
Raghav Kumar Gautam created FALCON-852:
------------------------------------------
Summary: 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
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)