You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2014/10/13 20:16:34 UTC
[jira] [Comment Edited] (FALCON-792) Integration test
EntityManagerPaginationJerseyIT fails occasionally.
[ https://issues.apache.org/jira/browse/FALCON-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169679#comment-14169679 ]
Venkatesh Seetharam edited comment on FALCON-792 at 10/13/14 6:15 PM:
----------------------------------------------------------------------
Thanks [~bvellanki] for your contribution.
was (Author: svenkat):
Thanks [~sowmyaramesh] for your contribution.
> Integration test EntityManagerPaginationJerseyIT fails occasionally.
> --------------------------------------------------------------------
>
> Key: FALCON-792
> URL: https://issues.apache.org/jira/browse/FALCON-792
> Project: Falcon
> Issue Type: Bug
> Components: webapp
> Affects Versions: 0.6
> Reporter: Balu Vellanki
> Assignee: Balu Vellanki
> Fix For: 0.6
>
> Attachments: FALCON-792.patch
>
>
> In EntityManagerPaginationJerseyIT.testPagination() , the filterBy param sets filter as "TYPE:PROCESS,STATUS:RUNNING". Even though 5 processes are submitted for testing, all 5 might complete RUNNING before this test is executed.
> There is a race condition between process completion and execution of this test, and this can lead to following null pointer exception.
> {code}
> testPagination(org.apache.falcon.resource.EntityManagerPaginationJerseyIT) Time elapsed: 1.931 sec <<< FAILURE!
> java.lang.NullPointerException: null
> at org.apache.falcon.resource.EntityManagerPaginationJerseyIT.testPagination(EntityManagerPaginationJerseyIT.java:82)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)