Skip to content

Commit 54b506e

Browse files
breglerjvladmihalcea
authored andcommitted
HHH-12021 - Fix tests failing on SAP HANA
- skip testLoad() of org.hibernate.jpa.test.ops.GetLoadTest - change the result comparison to set-based instead in testRevisionsGtWithPropertyQuery()
1 parent 1fc4ce2 commit 54b506e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hibernate-core/src/test/java/org/hibernate/jpa/test/ops/GetLoadTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public void testGet() {
7575
}
7676

7777
@Test
78+
@SkipForDialect(value = AbstractHANADialect.class, comment = " HANA doesn't support tables consisting of only a single auto-generated column")
7879
public void testLoad() {
7980
clearCounts();
8081

hibernate-envers/src/test/java/org/hibernate/envers/test/integration/query/RevisionConstraintQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void testRevisionsGtWithPropertyQuery() {
128128
.add( AuditEntity.property( "number" ).lt( 10 ) )
129129
.getResultList();
130130

131-
Assert.assertEquals( Arrays.asList( 3, 4 ), result );
131+
Assert.assertEquals( TestTools.makeSet( 3, 4 ), new HashSet<>( result ) );
132132
}
133133

134134
@Test

0 commit comments

Comments
 (0)