-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add TCK showing using external bundle (h2) and a pax warapped (sqlite) #273
base: main
Are you sure you want to change the base?
Conversation
4e84f34
to
e147284
Compare
Test Results102 tests +12 73 ✔️ - 8 2m 2s ⏱️ +9s For more details on these failures and errors, see this check. Results for commit d658720. ± Comparison against base commit 89cf4e3. This pull request removes 10 and adds 22 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
3358a43
to
d042c8e
Compare
@laeubi the test failure is because Pax Exam tries to resolve just built artifacts, but the build workflow uses only I'm not sure how it's usually handled with Github Actions (I didn't analyze much how it works - I guess we can't simply use |
I think clean install would be fine if it is required here! |
Can |
@laeubi I'm getting:
@laeubi I've merged your pr and added some cleanup and pushed the result to https://github.com/ops4j/org.ops4j.pax.jdbc/commits/main-tck - you can check it there (mind that Symbolic Name for Maria DB driver has changed!). If you make it work, it'd be great ;) |
For now, I'm releasing 1.5.6 but without this TCK addition. |
Ah, looks like |
So the only failure is:
But that's how your test works - it passes /**
* Checker method that will throw if any unsupported standard OSGi options
* is present.
*
* @param p the properties to check
* @throws SQLFeatureNotSupportedException if unsupported properties are
* present
*/
private static void rejectUnsupportedOptions(Properties p)
throws SQLFeatureNotSupportedException {
// Unsupported standard properties in OSGi
if (p.containsKey(DataSourceFactory.JDBC_ROLE_NAME)) {
throw new SQLFeatureNotSupportedException("The " +
DataSourceFactory.JDBC_ROLE_NAME +
" property is not supported by H2");
}
if (p.containsKey(DataSourceFactory.JDBC_DATASOURCE_NAME)) {
throw new SQLFeatureNotSupportedException("The " +
DataSourceFactory.JDBC_DATASOURCE_NAME +
" property is not supported by H2");
}
} |
@grgrzybek I think there was some discussions about the test is asserting wron things, sadly we need to wait for the next release for this fixes to become "live" maybe we can still include the test but somehow keep in mind it is okay to fail (maybe just as a warning?). |
I can move this module to a non-active profile called |
No description provided.