falcon-dev mailing list archives

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

             Summary: 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


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