Skip to content

Commit

Permalink
HHH-13559 : Skip failing tests on Sybase
Browse files Browse the repository at this point in the history
  • Loading branch information
gbadner committed Aug 10, 2019
1 parent cb51b1e commit fdca4b2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Expand Up @@ -8,7 +8,9 @@
import org.hibernate.Session;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import org.hibernate.dialect.SybaseDialect;

import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase;
import org.junit.Test;

Expand All @@ -18,6 +20,11 @@
public class ToOneOnDeleteTest extends BaseNonConfigCoreFunctionalTestCase {

@Test
@SkipForDialect(
value = SybaseDialect.class,
jiraKey = "HHH-13559",
comment = "on-delete=\"cascade\" is not supported for unidirectional to-one associations using Sybase"
)
public void testManyToOne() throws Exception {
Session session = openSession();
session.getTransaction().begin();
Expand Down
Expand Up @@ -7,7 +7,9 @@
package org.hibernate.test.ondelete.toone.hbm;

import org.hibernate.Session;
import org.hibernate.dialect.SybaseDialect;

import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Test;

Expand All @@ -17,6 +19,11 @@
public class ToOneOnDeleteHbmTest extends BaseCoreFunctionalTestCase {

@Test
@SkipForDialect(
value = SybaseDialect.class,
jiraKey = "HHH-13559",
comment = "on-delete=\"cascade\" is not supported for unidirectional to-one associations using Sybase"
)
public void testManyToOne() throws Exception {
Session session = openSession();
session.getTransaction().begin();
Expand Down

0 comments on commit fdca4b2

Please sign in to comment.