falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-792) Integration test EntityManagerPaginationJerseyIT fails occasionally.
Date Thu, 09 Oct 2014 01:01:33 GMT

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

Venkatesh Seetharam commented on FALCON-792:
--------------------------------------------

+1. 

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

Mime
View raw message