You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Tom Cunningham (JIRA)" <ju...@ws.apache.org> on 2009/04/07 21:30:12 UTC

[jira] Resolved: (JUDDI-216) 18/19 tests fail under openjpa configuration

     [ https://issues.apache.org/jira/browse/JUDDI-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham resolved JUDDI-216.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0beta

This seemed to have been because the remove-meta-inf execution was removing the persistence.xml before it was loaded.     Changed the phases where the copy of the persistence.xml happend and the delete of the META-INF directory happen.

> 18/19 tests fail under openjpa configuration
> --------------------------------------------
>
>                 Key: JUDDI-216
>                 URL: https://issues.apache.org/jira/browse/JUDDI-216
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.0alpha
>            Reporter: Tom Cunningham
>            Assignee: Kurt T Stam
>             Fix For: 3.0beta
>
>         Attachments: org.apache.juddi.api.impl.API_070_FindEntityTest.txt, TEST-org.apache.juddi.api.impl.API_070_FindEntityTest.xml
>
>
> On a clean checkout of v3trunk, 18/19 tests fail under the openjpa configuration :
> mvn -Dpersistence=openjpa clean install
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.juddi.config.ApplicationConfigurationTest
> Initial entityManagerFactory creation failed:javax.persistence.PersistenceException: Provider error. Provider: org.apache.openjpa.persistence.PersistenceProviderImpl
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.505 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_030_BusinessEntityTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_050_BindingTemplateTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_040_BusinessServiceTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE!
> Running org.apache.juddi.auth.AuthenticatorTest
> 10:12:57,643 INFO  [AuthenticatorTest] 
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <juddi-users>
>     <user userid="anou_mana" password="password"/>
>     <user userid="bozo" password="clown"/>
>     <user userid="sviens" password="password"/>
> </juddi-users>
> Tests run: 7, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.312 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_020_TmodelTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_010_PublisherTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.009 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_080_SubscriberSaveTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.018 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_060_PublisherAssertionTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE!
> Running org.apache.juddi.api.impl.API_070_FindEntityTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.019 sec <<< FAILURE!
> Results :
> Tests in error: 
>   readPropertyFromFile(org.apache.juddi.config.ApplicationConfigurationTest)
>   readNonExistingProperty(org.apache.juddi.config.ApplicationConfigurationTest)
>   org.apache.juddi.api.impl.API_030_BusinessEntityTest
>   org.apache.juddi.api.impl.API_050_BindingTemplateTest
>   org.apache.juddi.api.impl.API_040_BusinessServiceTest
>   testDefaultAuthenticator(org.apache.juddi.auth.AuthenticatorTest)
>   testXMLDocAuthenticator(org.apache.juddi.auth.AuthenticatorTest)
>   testBadXMLDocAuthenticator(org.apache.juddi.auth.AuthenticatorTest)
>   testCreateJuddiUsersEncrypted(org.apache.juddi.auth.AuthenticatorTest)
>   testCryptedXMLDocAuthenticator(org.apache.juddi.auth.AuthenticatorTest)
>   testBadCryptedXMLDocAuthenticator(org.apache.juddi.auth.AuthenticatorTest)
>   org.apache.juddi.api.impl.API_020_TmodelTest
>   testJoePublisher(org.apache.juddi.api.impl.API_010_PublisherTest)
>   testSamSyndicator(org.apache.juddi.api.impl.API_010_PublisherTest)
>   saveSubscriber(org.apache.juddi.api.impl.API_080_SubscriberSaveTest)
>   deleteSubscriber(org.apache.juddi.api.impl.API_080_SubscriberSaveTest)
>   org.apache.juddi.api.impl.API_060_PublisherAssertionTest
>   org.apache.juddi.api.impl.API_070_FindEntityTest
> Tests run: 19, Failures: 0, Errors: 18, Skipped: 0
> Attaching surefire reports.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.