Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix entityManagerFactoryCloseExceptions.ClientPmservletTest #1746

Merged

Conversation

arjantijms
Copy link
Contributor

@arjantijms arjantijms commented Jan 12, 2025

persistence.xml was missing AND added to the wrong folder

Related Issue(s)
#1433

Before:

[ERROR] Errors: 
[ERROR]   ClientPmservletTest » Runtime Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive ee.jakarta.tck.persistence.core.entityManagerFactoryCloseExceptions.ClientPmservletTest.createDeploymentVehicle(tck.arquillian.porting.lib.spi.TestArchiveProcessor)
[ERROR]   ClientPuservletTest » Runtime Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive ee.jakarta.tck.persistence.core.entityManagerFactoryCloseExceptions.ClientPuservletTest.createDeploymentVehicle(tck.arquillian.porting.lib.spi.TestArchiveProcessor)
[ERROR]   ClientPmservletTest.cascadeAllMXMTest4 »  Test case throws exception: cascadeAllMXMTest4 failed
[ERROR]   ClientPuservletTest.cascadeAllMXMTest4 »  Test case throws exception: cascadeAllMXMTest4 failed
[ERROR]   ClientPmservletTest.cascadeAllMX1Test2 »  Test case throws exception: cascadeAllMX1Test2 failed
[ERROR]   ClientPuservletTest.cascadeAllMX1Test2 »  Test case throws exception: cascadeAllMX1Test2 failed
[ERROR]   ClientPmservletTest.persistMX1Test2 »  Test case throws exception: persistMX1Test2 failed
[ERROR]   ClientPuservletTest.persistMX1Test2 »  Test case throws exception: persistMX1Test2 failed
[ERROR]   ClientPmservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
[ERROR]   ClientPuservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
[ERROR]   ClientPmservletTest.createEntityManagerFactoryStringTest »  Test case throws exception: java.lang.NoClassDefFoundError: ee/jakarta/tck/persistence/core/entityManagerFactory/Order
[ERROR]   ClientTest.test1 »  Test case throws exception: [BaseUrlClient] test1 failed! Check output for cause of failure.
[ERROR]   ClientPmservletTest » Runtime Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive ee.jakarta.tck.persistence.jpa.ee.packaging.jar.ClientPmservletTest.createDeploymentVehicle(tck.arquillian.porting.lib.spi.TestArchiveProcessor)
[INFO] 
[ERROR] Tests run: 3818, Failures: 0, Errors: 13, Skipped: 0

After:

[ERROR] Errors: 
[ERROR]   ClientPuservletTest.exceptionsTest »  Test running in PersistenceUnit servlet vehicle failed
[ERROR]   ClientPmservletTest.cascadeAllMXMTest4 »  Test case throws exception: cascadeAllMXMTest4 failed
[ERROR]   ClientPuservletTest.cascadeAllMXMTest4 »  Test case throws exception: cascadeAllMXMTest4 failed
[ERROR]   ClientPmservletTest.cascadeAllMX1Test2 »  Test case throws exception: cascadeAllMX1Test2 failed
[ERROR]   ClientPuservletTest.cascadeAllMX1Test2 »  Test case throws exception: cascadeAllMX1Test2 failed
[ERROR]   ClientPmservletTest.persistMX1Test2 »  Test case throws exception: persistMX1Test2 failed
[ERROR]   ClientPuservletTest.persistMX1Test2 »  Test case throws exception: persistMX1Test2 failed
[ERROR]   ClientPmservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
[ERROR]   ClientPuservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
[ERROR]   ClientPmservletTest.createEntityManagerFactoryStringTest »  Test case throws exception: java.lang.NoClassDefFoundError: ee/jakarta/tck/persistence/core/entityManagerFactory/Order
[ERROR]   ClientTest.test1 »  Test case throws exception: [BaseUrlClient] test1 failed! Check output for cause of failure.
[ERROR]   ClientPmservletTest » Runtime Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive ee.jakarta.tck.persistence.jpa.ee.packaging.jar.ClientPmservletTest.createDeploymentVehicle(tck.arquillian.porting.lib.spi.TestArchiveProcessor)
[INFO] 
[ERROR] Tests run: 3818, Failures: 0, Errors: 12, Skipped: 0

CC @alwin-joseph @anajosep @arjantijms @cesarhernandezgt @dblevins @m0mus @edbratt @gurunrao @jansupol @jgallimore @kazumura @kwsutter @LanceAndersen @bhatpmk @RohitKumarJain @shighbar @gthoman @brideck @OndroMih @dmatej
@starksm64 @scottmarlow

persistence.xml was missing AND added to the wrong folder
@arjantijms arjantijms added this to the 11.0 milestone Jan 12, 2025
@arjantijms arjantijms self-assigned this Jan 12, 2025
@arjantijms arjantijms merged commit b64a390 into jakartaee:main Jan 12, 2025
2 checks passed
@arjantijms arjantijms deleted the entityManagerFactoryCloseExceptions branch January 12, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant