Skip to content

Commit 103b2f8

Browse files
dreab8beikov
authored andcommitted
HHH-14725 Fixed test
1 parent 0b61cc3 commit 103b2f8

File tree

1 file changed

+4
-1
lines changed
  • hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/blob

1 file changed

+4
-1
lines changed

hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/blob/BasicBlobTest.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.hamcrest.Matchers;
1111
import org.hibernate.dialect.PostgreSQLDialect;
1212
import org.hibernate.dialect.SQLServerDialect;
13+
import org.hibernate.dialect.SybaseDialect;
1314
import org.hibernate.engine.jdbc.BlobProxy;
1415
import org.hibernate.envers.Audited;
1516
import org.hibernate.orm.test.envers.BaseEnversJPAFunctionalTestCase;
@@ -81,6 +82,8 @@ public void testGenerateProxyNoStream() {
8182
comment = "The driver closes the stream, so it cannot be reused by envers")
8283
@SkipForDialect(value = SQLServerDialect.class,
8384
comment = "The driver closes the stream, so it cannot be reused by envers")
85+
@SkipForDialect(value = SybaseDialect.class,
86+
comment = "The driver closes the stream, so it cannot be reused by envers")
8487
public void testGenerateProxyStream() {
8588
final Path path = Path.of( Thread.currentThread().getContextClassLoader()
8689
.getResource( "org/hibernate/orm/test/envers/integration/blob/blob.txt" ).getPath() );
@@ -105,7 +108,7 @@ public void testGenerateProxyStream() {
105108
// H2, MySQL, Oracle, SQL Server work this way.
106109
//
107110
//
108-
Blob blob = BlobProxy.generateProxy( stream, 9192L );
111+
Blob blob = BlobProxy.generateProxy( stream, 1431 );
109112

110113
asset.setData( blob );
111114
entityManager.persist( asset );

0 commit comments

Comments
 (0)