Hello,
We're using Hibernate but we would like to add a feature (to allow us to collect more statistics than Hibernate currently does). Unfortunately I can't seem to compile the Hibernate source that I've checked out. Some of the tests are failing. The source should compile, as I haven't modified it yet. Am I doing it wrong? Here's what I've tried:
then I tried the following:
Code:
svn co http://anonsvn.jboss.org/repos/hibernate/core/trunk
cd trunk
mvn clean install
I have tried this with both
Code:
svn co http://anonsvn.jboss.org/repos/hibernate/core/branches/Branch_3_2
svn co http://anonsvn.jboss.org/repos/hibernate/core/branches/Branch_3_3
as well with similar errors.
The result is:
Quote:
...lots of tests being run here...
Running org.hibernate.test.idgen.enhanced.table.HiLoTableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Results :
Failed tests:
testProxyReuse(org.hibernate.test.legacy.ParentChildTest)
testDuplicateImplicitJoinInSelect(org.hibernate.test.hql.HQLTest)
Tests in error:
testLoadingAndSerializationOfConfiguration(org.hibernate.test.cfg.ConfigurationPerformanceTest)
testSessionFactoryCreationTime(org.hibernate.test.cfg.ConfigurationPerformanceTest)
testOneToOne(org.hibernate.test.legacy.MultiTableTest)
testReplicate(org.hibernate.test.legacy.ParentChildTest)
testComplexCriteria(org.hibernate.test.legacy.ParentChildTest)
testLoadAfterNonExists(org.hibernate.test.legacy.ParentChildTest)
testOrderBy(org.hibernate.test.legacy.FooBarTest)
testDisconnect(org.hibernate.test.legacy.FooBarTest)
testVeto(org.hibernate.test.legacy.FooBarTest)
Tests run: 1446, Failures: 2, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /usr/local/google/home/alexlevenson/hibernate/trunk/testsuite/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 42 seconds
[INFO] Finished at: Thu Jun 04 16:07:00 PDT 2009
[INFO] Final Memory: 86M/524M
[INFO] ------------------------------------------------------------------------
I have tried it a few times over a period of about a week and the tests that fail vary from time to time. Am I grabbing the wrong source? Is there a stable branch I should be grabbing?
Thanks in advance,
Alex Levenson