Skip to content

Commit 3a129d9

Browse files
liubao68beikov
authored andcommitted
HHH-19365 - fix lock test fail
1 parent 3ae25e1 commit 3a129d9

File tree

1 file changed

+3
-0
lines changed
  • hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock

1 file changed

+3
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/LockTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.hibernate.cfg.AvailableSettings;
2323
import org.hibernate.community.dialect.AltibaseDialect;
2424
import org.hibernate.community.dialect.FirebirdDialect;
25+
import org.hibernate.community.dialect.GaussDBDialect;
2526
import org.hibernate.community.dialect.InformixDialect;
2627
import org.hibernate.dialect.HANADialect;
2728
import org.hibernate.dialect.CockroachDialect;
@@ -1189,6 +1190,7 @@ public void testLockTimeoutEMProps() throws Exception {
11891190
@SkipForDialect(value = CockroachDialect.class, comment = "Cockroach supports the 'for no key update' syntax but it doesn't work")
11901191
@SkipForDialect(value = FirebirdDialect.class, comment = "Seems like FK constraint checks are not compatible with exclusive locks")
11911192
@SkipForDialect(value = AltibaseDialect.class, comment = "Seems like FK constraint checks are not compatible with exclusive locks")
1193+
@SkipForDialect(value = GaussDBDialect.class, comment = "The USTORE storage engine does not support For Key Share and For No Key Update")
11921194
public void testLockInsertFkTarget() {
11931195
Lock lock = new Lock();
11941196
lock.setName( "name" );
@@ -1228,6 +1230,7 @@ public void testLockInsertFkTarget() {
12281230
@SkipForDialect(value = CockroachDialect.class, comment = "Cockroach supports the 'for no key update' syntax but it doesn't work")
12291231
@SkipForDialect(value = FirebirdDialect.class, comment = "Seems like FK constraint checks are not compatible with exclusive locks")
12301232
@SkipForDialect(value = AltibaseDialect.class, comment = "FK constraint checks are not compatible with exclusive locks")
1233+
@SkipForDialect(value = GaussDBDialect.class, comment = "The USTORE storage engine does not support For Key Share and For No Key Update")
12311234
public void testLockUpdateFkTarget() {
12321235
Lock lock1 = new Lock();
12331236
lock1.setName( "l1" );

0 commit comments

Comments
 (0)