[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-646) Unable to run tests against non in memory db

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Dec 10 11:59:15 EST 2010


Unable to run tests against non in memory db
--------------------------------------------

                 Key: HSEARCH-646
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-646
             Project: Hibernate Search
          Issue Type: Bug
          Components: build
    Affects Versions: 3.3.0.CR2
         Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
Java version: 1.6.0_22
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.5" arch: "x86_64" Family: "mac"

            Reporter: Hardy Ferentschik
             Fix For: 3.3.0.Final


Trying to run the build against a non in memory db fails. I tried against postgres and got 5 errors. One is in the infinispan module which seems to have a problem with finding the right drivers when running with the postgres profile:

* org.hibernate.search.infinispan.TwoNodesTest.testSomething 
{noformat}
org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver
	at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:89)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
	at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
	at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
	at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:91)
	at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2833)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2829)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840)
	at org.hibernate.search.test.util.FullTextSessionBuilder.build(FullTextSessionBuilder.java:150)
	at org.hibernate.search.infinispan.TwoNodesTest.setUp(TwoNodesTest.java:91)
	at junit.framework.TestCase.runBare(TestCase.java:125)
...
{noformat}

The other for errors are:

* org.hibernate.search.test.batchindexing.DoNotCloseOnLockTimeoutTest.testTimeoutException 
* org.hibernate.search.test.bridge.BridgeTest.testIncorrectSetBridge 
* org.hibernate.search.test.bridge.BridgeTest.testIncorrectGetBridge 
* org.hibernate.search.test.bridge.BridgeTest.testIncorrectObjectToStringBridge 




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list