hi, trying to run the junit tests on mysql 4.0.19-0 on fedora. ant eg runs fine except for the complaint about the clover tasks (do i need this at this point?). ant junit says:
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
cleantestdb:
splash:
init:
[echo] Build Hibernate-2.1 (2004-02-24 02:00:15)
[mkdir] Created dir: /Z/Users/ray/java/unpacked/hibernate-2.1/build
[copy] Copying 9 files to /Z/Users/ray/java/unpacked/hibernate-2.1/build
compile:
[javac] Compiling 463 source files to /Z/Users/ray/java/unpacked/hibernate-2.1/build
compiletest:
[javac] Compiling 107 source files to /Z/Users/ray/java/unpacked/hibernate-2.1/build
junit:
[mkdir] Created dir: /Z/Users/ray/java/unpacked/hibernate-2.1/testout
[junit] Running org.hibernate.test.ABCProxyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.703 sec
[junit] Running org.hibernate.test.ABCTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.486 sec
[junit] Running org.hibernate.test.CacheTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.357 sec
[junit] Running org.hibernate.test.FooBarTest
[junit] Tests run: 99, Failures: 11, Errors: 2, Time elapsed: 76.756 sec
[junit] TEST org.hibernate.test.FooBarTest FAILED
[junit] Running org.hibernate.test.FumTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 22.206 sec
[junit] Running org.hibernate.test.MasterDetailTest
[junit] Tests run: 27, Failures: 0, Errors: 7, Time elapsed: 26.567 sec
[junit] TEST org.hibernate.test.MasterDetailTest FAILED
[junit] Running org.hibernate.test.MultiTableTest
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 7.554 sec
[junit] Running org.hibernate.test.ODMGTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 19.943 sec
[junit] Running org.hibernate.test.ParentChildTest
[junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 22.649 sec
[junit] Running org.hibernate.test.QueryByExampleTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.328 sec
[junit] Running org.hibernate.test.SQLFunctionsTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 5.201 sec
[junit] Running org.hibernate.test.SQLLoaderTest
[junit] Tests run: 12, Failures: 0, Errors: 5, Time elapsed: 11.931 sec
[junit] TEST org.hibernate.test.SQLLoaderTest FAILED
BUILD SUCCESSFUL
Total time: 5 minutes 4 seconds
i have heard that there are some issues with case sensitive table names on linux, so that may be part of the problem. the first thing that goes wrong in the foobar test case xml is:
<testcase name="testPersistCollections" time="1.666">
<error message="could not deserialize" type="net.sf.hibernate.type.SerializationException">net.sf.hibernate.type.SerializationException: could not deserialize
at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:194)
at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:220)
at org.hibernate.test.FooBarTest.testPersistCollections(FooBarTest.java:2429)
...
</error>
</testcase>
<testcase name="testSaveFlush" time="16.086"></testcase>
<testcase name="testCreateUpdate" time="0.066">
<failure message="create-update" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: create-update
at org.hibernate.test.FooBarTest.testCreateUpdate(FooBarTest.java:2468)
at org.hibernate.test.TestCase.runTest(TestCase.java:82)
</failure>
i tried to post more complete logs, but this web ui seems to croak. is there a real mailing list or newsgroup for hibernate users?
any pointers will be appreciated.
thanks
|