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)

Reply via email to