[jboss-jira] [JBoss JIRA] (WFLY-2641) ARQ upgrade likely to cause test failures

Tomaz Cerar (JIRA) issues at jboss.org
Fri Dec 13 06:30:32 EST 2013


    [ https://issues.jboss.org/browse/WFLY-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931091#comment-12931091 ] 

Tomaz Cerar commented on WFLY-2641:
-----------------------------------

Aslak, i was looking around a bit and it might be related to junit 4.11 bug. see https://github.com/junit-team/junit/issues/687 for details
also most tests that have issues use expected exception.

for example
{code:java}
@Test(expected= NoResultException.class)
    public void testOrmXmlDefinedEmployeeEntity() throws Exception {
        Employee emp = bean.queryEmployeeName(1);
    }
{code}
                
> ARQ upgrade likely to cause test failures 
> ------------------------------------------
>
>                 Key: WFLY-2641
>                 URL: https://issues.jboss.org/browse/WFLY-2641
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>            Assignee: Aslak Knutsen
>            Priority: Critical
>             Fix For: 8.0.0.CR1
>
>
> {code}
> testSimpleBundleWithWabExtension(org.jboss.test.osgi.example.webapp.WebAppTestCase)  Time elapsed: 0.028 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:290)
> 	at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
> 	at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
> 	at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
> 	at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list