HHH-17168 - ignore FunctionTests.testCastBinaryWithLength on cockroachdb

Remove the exclusion for postgresql on FunctionTests.testCastBinaryWithLengthForOracle because there it does pass

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
Jan Schatteman 2023-09-05 20:48:54 +02:00 committed by Jan Schatteman
parent 1f4fc7e803
commit 364624f542
1 changed files with 1 additions and 1 deletions

View File

@ -1029,6 +1029,7 @@ public class FunctionTests {
@Test @Test
@SkipForDialect(dialectClass = DerbyDialect.class, reason = "Derby doesn't support casting to binary types") @SkipForDialect(dialectClass = DerbyDialect.class, reason = "Derby doesn't support casting to binary types")
@SkipForDialect(dialectClass = PostgreSQLDialect.class, matchSubTypes = true, reason = "PostgreSQL bytea doesn't have a length") @SkipForDialect(dialectClass = PostgreSQLDialect.class, matchSubTypes = true, reason = "PostgreSQL bytea doesn't have a length")
@SkipForDialect(dialectClass = CockroachDialect.class, matchSubTypes = true, reason = "CockroachDB bytes doesn't have a length")
@SkipForDialect(dialectClass = OracleDialect.class, reason = "Oracle cast to raw does not do truncatation") @SkipForDialect(dialectClass = OracleDialect.class, reason = "Oracle cast to raw does not do truncatation")
@SkipForDialect(dialectClass = DB2Dialect.class, majorVersion = 10, minorVersion = 5, reason = "On this version the length of the cast to the parameter appears to be > 2") @SkipForDialect(dialectClass = DB2Dialect.class, majorVersion = 10, minorVersion = 5, reason = "On this version the length of the cast to the parameter appears to be > 2")
public void testCastBinaryWithLength(SessionFactoryScope scope) { public void testCastBinaryWithLength(SessionFactoryScope scope) {
@ -1045,7 +1046,6 @@ public class FunctionTests {
@Test @Test
@SkipForDialect(dialectClass = DerbyDialect.class, reason = "Derby doesn't support casting varchar to binary") @SkipForDialect(dialectClass = DerbyDialect.class, reason = "Derby doesn't support casting varchar to binary")
@SkipForDialect(dialectClass = PostgreSQLDialect.class, matchSubTypes = true, reason = "PostgreSQL bytea doesn't have a length")
public void testCastBinaryWithLengthForOracle(SessionFactoryScope scope) { public void testCastBinaryWithLengthForOracle(SessionFactoryScope scope) {
scope.inTransaction( scope.inTransaction(
session -> { session -> {