You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2014/10/09 02:48:33 UTC

[jira] [Updated] (FALCON-792) Integration test EntityManagerPaginationJerseyIT fails occasionally.

     [ https://issues.apache.org/jira/browse/FALCON-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Balu Vellanki updated FALCON-792:
---------------------------------
    Attachment: FALCON-792.patch

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