Skip to content

Commit 76359ad

Browse files
maesenkabeikov
authored andcommitted
Skip MultiLoadLockingTest for CockroachDB
Just as for Postgresql, the test should be skipped for CockroachDB. See the class comments.
1 parent 32c6370 commit 76359ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/loading/multiLoad/MultiLoadLockingTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import org.hibernate.annotations.CacheConcurrencyStrategy;
2222
import org.hibernate.annotations.NaturalId;
2323
import org.hibernate.cfg.AvailableSettings;
24+
import org.hibernate.dialect.CockroachDialect;
2425
import org.hibernate.dialect.Dialect;
2526
import org.hibernate.dialect.HSQLDialect;
2627
import org.hibernate.dialect.PostgreSQLDialect;
@@ -67,6 +68,7 @@
6768
// The tests don't actually fail for the dialects below, skipping them so that the non-occurring expected failure doesn't fail the Test case
6869
value = {
6970
@SkipForDialect(dialectClass = PostgreSQLDialect.class, matchSubTypes = true),
71+
@SkipForDialect(dialectClass = CockroachDialect.class, matchSubTypes = true),
7072
@SkipForDialect(dialectClass = HSQLDialect.class),
7173
}
7274
)

0 commit comments

Comments
 (0)