OK, I think I've found the cause.
It's the connection.driver_class that's been missing in App.config in NHibernate.Test. It's introduced in r5759. For some reasons I don't understand, (only) some tests rely on that configuration file, for example:
- NHibernate.Test.DialectTest.DialectFixture.CurrentTimestampSelection
- NHibernate.Test.DialectTest.MsSqlDialectFixture.DialectFixture.CurrentTimestampSelection
- NHibernate.Test.Legacy.FooBarTest.UserProvidedConnection
- NHibernate.Test.NHSpecificTest.GetSetHelperFixture.TestDefaultValue
- etc.
Thus, the solution is simply by adding (back) the following line in that configuration file:
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
Also, since I want to use Sql2008ClientDriver for the tests, I have to modify NHibernate.TestDatabaseSetup.DatabaseSetup.DatabaseSetup() by adding the following line:
SetupMethods.Add("NHibernate.Driver.Sql2008ClientDriver", SetupSqlServer);
And now, all tests are running happily again :D.
--
Regards,
Maximilian Haru Raditya