Skip to content

Commit 64d6069

Browse files
Generate async files
1 parent fa330b2 commit 64d6069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate.Test/Async/Ado/BatcherFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected override bool AppliesTo(Engine.ISessionFactoryImplementor factory)
5656
#if NET6_0_OR_GREATER
5757
if (_useDbBatch)
5858
{
59-
return factory.Settings.BatcherFactory is DbBatchBatcherFactory;
59+
return factory.Settings.BatcherFactory is DbBatchBatcherFactory && factory.Settings.ConnectionProvider.Driver is Driver.DriverBase driverBase && driverBase.CanCreateBatch;
6060
}
6161
#endif
6262
return !(factory.Settings.BatcherFactory is NonBatchingBatcherFactory);

0 commit comments

Comments
 (0)