Skip to content

Commit a68713d

Browse files
committed
Exclude SapSQLAnywhere17Dialect from running tests
SAP SQLAnywhere does support locking, but it does not support nowait lock, so the tests fail.
1 parent 57e9e2a commit a68713d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NHibernate.Test/Async/Linq/QueryLock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class QueryLockAsync : LinqTestCase
2929
{
3030
protected override bool AppliesTo(Dialect.Dialect dialect)
3131
{
32-
return TestDialect.SupportsSelectForUpdate;
32+
return TestDialect.SupportsSelectForUpdate && !(dialect is SapSQLAnywhere17Dialect);
3333
}
3434

3535
protected override bool AppliesTo(ISessionFactoryImplementor factory)

src/NHibernate.Test/Linq/QueryLock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class QueryLock : LinqTestCase
1717
{
1818
protected override bool AppliesTo(Dialect.Dialect dialect)
1919
{
20-
return TestDialect.SupportsSelectForUpdate;
20+
return TestDialect.SupportsSelectForUpdate && !(dialect is SapSQLAnywhere17Dialect);
2121
}
2222

2323
protected override bool AppliesTo(ISessionFactoryImplementor factory)

0 commit comments

Comments
 (0)