Skip to content

Commit cda55ae

Browse files
committed
Remove unnecessary MariaDB skips in lock tests
1 parent c92bfdc commit cda55ae

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/locking/options/LockedRowsTests.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import org.hibernate.PessimisticLockException;
1010
import org.hibernate.community.dialect.InformixDialect;
1111
import org.hibernate.dialect.CockroachDialect;
12-
import org.hibernate.dialect.MariaDBDialect;
1312
import org.hibernate.dialect.lock.PessimisticEntityLockException;
1413
import org.hibernate.jpa.SpecHints;
1514
import org.hibernate.testing.orm.AsyncExecutor;
@@ -107,10 +106,6 @@ void testLockNoWait(SessionFactoryScope factoryScope) {
107106

108107
@Test
109108
@RequiresDialectFeature(feature = DialectFeatureChecks.SupportsSkipLocked.class)
110-
@SkipForDialect(
111-
dialectClass = MariaDBDialect.class,
112-
reason = "Cannot figure this out - it passes when run by itself, but fails when run as part of the complete suite."
113-
)
114109
void testQuerySkipLocked(SessionFactoryScope factoryScope) {
115110
factoryScope.inTransaction( (session1) -> {
116111
session1.find(Book.class,1, PESSIMISTIC_WRITE);
@@ -129,10 +124,6 @@ void testQuerySkipLocked(SessionFactoryScope factoryScope) {
129124

130125
@Test
131126
@RequiresDialectFeature(feature = DialectFeatureChecks.SupportsSkipLocked.class)
132-
@SkipForDialect(
133-
dialectClass = MariaDBDialect.class,
134-
reason = "Cannot figure this out - it passes when run by itself, but fails when run as part of the complete suite."
135-
)
136127
@SkipForDialect(dialectClass = InformixDialect.class, reason = "no failure")
137128
void testFindSkipLocked(SessionFactoryScope factoryScope) {
138129
factoryScope.inTransaction( (session) -> {

0 commit comments

Comments
 (0)