[arquillian-issues] [JBoss JIRA] (ARQ-747) Arquillian Extension Persistence - DB cleanup does not work with Maven Archetype

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue Feb 14 00:57:02 EST 2012


     [ https://issues.jboss.org/browse/ARQ-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen updated ARQ-747:
------------------------------

        Component/s: Extension - Persistence
                         (was: Integration Test Suite)
    Forum Reference: https://community.jboss.org/message/716346#716346  (was: https://community.jboss.org/message/716346#716346)

    
> Arquillian Extension Persistence - DB cleanup does not work with Maven Archetype
> --------------------------------------------------------------------------------
>
>                 Key: ARQ-747
>                 URL: https://issues.jboss.org/browse/ARQ-747
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Persistence
>    Affects Versions: persistence_1.0.0.Alpha3
>         Environment: Eclipse JavaEE IDE for Web Developers, Indigo SR1
> Win7 x64
> Java 1.7.0-b147
> jboss-as-web-7.0.2.Final
>            Reporter: david meier
>         Attachments: arquillian_cleanup_fails.zip
>
>
> Problem: based on discussion in the forums, the DB should be cleaned up after each @Test execution. This was not the case for a very simple project, and can be easily reproduced based on maven archetypes.
> After executing steps to reproduce:
> Actual result:
> if method testRegister() is executed before testProducer(), then the latter fails. Because getMembers() does return a list of size == 1.
> Expected result:
> as the DB is to be cleaned after each test, the getMembers() method should be empty and both tests should verify.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list