falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suhas Vasu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-561) Falcon jenkins failure in EntityManagerJerseyIT
Date Thu, 31 Jul 2014 11:25:38 GMT

    [ https://issues.apache.org/jira/browse/FALCON-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14080761#comment-14080761
] 

Suhas Vasu edited comment on FALCON-561 at 7/31/14 11:24 AM:
-------------------------------------------------------------

{noformat}            
BundleJob bundle = ozClient.getBundleJobInfo(bundleId);
+            lastStatus = bundle.getStatus();
             if (statuses.contains(bundle.getStatus())) 
{noformat}

It can be simplified to  if (statuses.contains(lastStatus))

Rest looks good


was (Author: suhas.ysr):
{no-format}            
BundleJob bundle = ozClient.getBundleJobInfo(bundleId);
+            lastStatus = bundle.getStatus();
             if (statuses.contains(bundle.getStatus())) 
{no-format}

It can be simplified to  if (statuses.contains(lastStatus))

Rest looks good

> Falcon jenkins failure in EntityManagerJerseyIT
> -----------------------------------------------
>
>                 Key: FALCON-561
>                 URL: https://issues.apache.org/jira/browse/FALCON-561
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: 0.6
>
>         Attachments: FALCON-561-v2.patch, FALCON-561.patch
>
>
> https://builds.apache.org/job/Apache-falcon/356/consoleFull
> {noformat}
> Running org.apache.falcon.resource.EntityManagerJerseyIT
> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 42.884 sec <<<
FAILURE! - in org.apache.falcon.resource.EntityManagerJerseyIT
> testProcessInputUpdate(org.apache.falcon.resource.EntityManagerJerseyIT)  Time elapsed:
4.624 sec  <<< FAILURE!
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> 	at java.util.ArrayList.get(ArrayList.java:322)
> 	at org.apache.falcon.resource.EntityManagerJerseyIT.testProcessInputUpdate(EntityManagerJerseyIT.java:321)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message