-
Notifications
You must be signed in to change notification settings - Fork 111
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
ee.jakarta.tck.persistence.core.StoredProcedureQuery.* tests not seeing stored procedures #1716
Comments
@alwin-joseph did you setup the jpa standalone tests? I took the sql initialization plugin config from there. Can you take a look if you can see why the stored procedures are not seen please. |
Do you see the execution of derby.ddl.persistence.sprocs.sql passing successfully (18 SQL statements) ? |
No I don't:
Any idea why by looking at the at task?
|
I am able to run the sql statements I had to kill the running database instance (ps -ef | grep glassfish) after every run of |
It seems the file name for the first transaction statement should be derby.ddl.sql rather than derby.ddl.persistence.sql. After changing that I am seeing:
but I still see the errors in the test:
maybe the tables are getting dropped somewhere. |
With the latest changes I get below result , if this is better than what you see, can I raise a PR changes in web-jpa...alwin-joseph:test-issue1716 |
Yes, I'm still seeing the original 21 errors, so please do create a PR. |
|
It looks like the fix was merged to branch |
@alwin-joseph is the change ready to merge to main as well? |
I synced my local repo (main branch) with the change and will try running locally. |
I think we need to bring @alwin-joseph's changes from the
|
I created draft pr #1734 to merge changes from the Do we have any other in progress changes on the If not, I suggest we go ahead and merge the current changes. What do you think @alwin-joseph + @starksm64? |
+1 for merging to main. |
I just merged my outstanding change for the JPA tests, so once those are resolved let's merge #1734. |
tcks/apis/persistence/persistence-inside-container/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaDelete/Client.java needs this method added: public void setup(String[] args, Properties p) throws Fault {
TestUtil.logTrace("setup");
try {
super.setup(args, p);
removeTestData();
createProductData();
} catch (Exception e) {
TestUtil.logErr("Exception: ", e);
throw new Fault("setup failed:", e);
}
} |
#1734 is merged. Will add the missing setup method to tcks/apis/persistence/persistence-inside-container/spec-tests/src/main/java/ee/jakarta/tck/persistence/core/criteriaapi/CriteriaDelete/Client.java now. |
Describe the bug
The ee.jakarta.tck.persistence.core.StoredProcedureQuery.* package on the jpa-web branch tests are failing due to missing stored procedures:
These exist in the glassfish-runner/persistence-platform-tck/sql/derby/derby.ddl.persistence.sprocs.sql script, and I have updated the pom.xml to execute these, but I'm still seeing this error.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: