[arquillian-issues] [JBoss JIRA] (ARQ-2027) JDK 8 with wildfly failing for integration tests

Rafael Pestano (JIRA) issues at jboss.org
Sun May 8 18:53:00 EDT 2016


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

Rafael Pestano commented on ARQ-2027:
-------------------------------------

I also happens on jboss-as-7 (default container in APE int-tests).

To reproduce just use 'mvn clean verify' on APE parent module using jdk8.

All it-tests will fail with the following exception:

{noformat}
java.lang.ClassCastException: org.jboss.arquillian.persistence.core.event.ApplyScriptsBeforeTest cannot be cast to org.jboss.arquillian.persistence.dbunit.event.CompareDBUnitData
{noformat}

The exception is [raised here|https://github.com/arquillian/arquillian-extension-persistence/blob/master/dbunit/src/main/java/org/jboss/arquillian/persistence/dbunit/lifecycle/DataSetHandler.java#L59] when the event below is fired:

{noformat}
prepareDataEvent.fire(new PrepareDBUnitData(dataSetProvider.getDescriptorsDefinedFor(beforePersistenceTest.getTestMethod())));
{noformat}



> JDK 8 with wildfly failing for integration tests
> ------------------------------------------------
>
>                 Key: ARQ-2027
>                 URL: https://issues.jboss.org/browse/ARQ-2027
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Extension - Persistence
>            Reporter: Bartosz Majsak
>            Assignee: Bartosz Majsak
>
> More details on discuss 
> http://discuss.arquillian.org/t/help-running-arquillian-persistence-int-tests/307/9



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the arquillian-issues mailing list