I haven't run the TCK for a while, but I'm getting the following errors with transactions.conf in the new 2.2 branch (4 errors total, 2 for each identity type). I'm using datanucleus 1.0.1.

20:14:03,296 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:

junit.framework.AssertionFailedError:

Assertion A13.4.2-29 (setIsolationLevel) failed: active datastore transaction; JDOUnsupportedOptionException not thrown for setIsolationLevel(snapshot). Unexpected exception: javax.jdo.JDOUserException: Isolation level "snapshot" not supported by this datastore



   at junit.framework.Assert.fail(Assert.java:47)

   at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1160)

at org.apache.jdo.tck.transactions.SetIsolationLevel.testSetIsolationLevelOutsideTransaction(SetIsolationLevel.java:82)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:597)

   at junit.framework.TestCase.runTest(TestCase.java:154)

   at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:272)

   at junit.framework.TestResult$1.protect(TestResult.java:106)

   at junit.framework.TestResult.runProtected(TestResult.java:124)

   at junit.framework.TestResult.run(TestResult.java:109)

   at junit.framework.TestCase.run(TestCase.java:118)

   at junit.framework.TestSuite.runTest(TestSuite.java:208)

   at junit.framework.TestSuite.run(TestSuite.java:203)

   at junit.framework.TestSuite.runTest(TestSuite.java:208)

   at junit.framework.TestSuite.run(TestSuite.java:203)

   at junit.textui.TestRunner.doRun(TestRunner.java:116)

at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)

at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)

at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)

20:14:03,765 (main) INFO [org.apache.jdo.tck] - Exception during setUp or runtest:

junit.framework.AssertionFailedError:

Assertion A13.4.2-29 (setIsolationLevel) failed: active datastore transaction; JDOUnsupportedOptionException not thrown for setIsolationLevel(snapshot). Unexpected exception: javax.jdo.JDOUserException: Isolation level "snapshot" not supported by this datastore



   at junit.framework.Assert.fail(Assert.java:47)

   at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1160)

at org.apache.jdo.tck.transactions.SetIsolationLevel.testSetIsolationLevelWithActiveOptimisticTransaction(SetIsolationLevel.java:130)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:597)

   at junit.framework.TestCase.runTest(TestCase.java:154)

   at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:272)

   at junit.framework.TestResult$1.protect(TestResult.java:106)

   at junit.framework.TestResult.runProtected(TestResult.java:124)

   at junit.framework.TestResult.run(TestResult.java:109)

   at junit.framework.TestCase.run(TestCase.java:118)

   at junit.framework.TestSuite.runTest(TestSuite.java:208)

   at junit.framework.TestSuite.run(TestSuite.java:203)

   at junit.framework.TestSuite.runTest(TestSuite.java:208)

   at junit.framework.TestSuite.run(TestSuite.java:203)

   at junit.textui.TestRunner.doRun(TestRunner.java:116)

at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)

at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)

at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)


Reply via email to