Open laeubi opened 4 months ago
For example
org.osgi.test.cases.jpa.junit.JPAService_1_1_TestCase.testUseStandardDataSourceConfig()
seem to require the h2 jdbc bundle because it uses an url of jdbc:h2:mem: but the test bundle has no requirement on this, therefore the TCK happily starts (and fails) in such a case.
jdbc:h2:mem:
https://github.com/osgi/osgi/blob/3bf23c2548cc13c144b7254d1dee7655262b25cf/org.osgi.test.cases.jpa/src/org/osgi/test/cases/jpa/junit/JPAService_1_1_TestCase.java#L67
this could use
@Referenced(org.h2.Driver.class)
For example
org.osgi.test.cases.jpa.junit.JPAService_1_1_TestCase.testUseStandardDataSourceConfig()
seem to require the h2 jdbc bundle because it uses an url of
jdbc:h2:mem:
but the test bundle has no requirement on this, therefore the TCK happily starts (and fails) in such a case.https://github.com/osgi/osgi/blob/3bf23c2548cc13c144b7254d1dee7655262b25cf/org.osgi.test.cases.jpa/src/org/osgi/test/cases/jpa/junit/JPAService_1_1_TestCase.java#L67