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()
This commit is contained in:
parent
1fc4ce23ac
commit
54b506ecf4
|
@ -75,6 +75,7 @@ public class GetLoadTest extends BaseEntityManagerFunctionalTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@SkipForDialect(value = AbstractHANADialect.class, comment = " HANA doesn't support tables consisting of only a single auto-generated column")
|
||||||
public void testLoad() {
|
public void testLoad() {
|
||||||
clearCounts();
|
clearCounts();
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ public class RevisionConstraintQuery extends BaseEnversJPAFunctionalTestCase {
|
||||||
.add( AuditEntity.property( "number" ).lt( 10 ) )
|
.add( AuditEntity.property( "number" ).lt( 10 ) )
|
||||||
.getResultList();
|
.getResultList();
|
||||||
|
|
||||||
Assert.assertEquals( Arrays.asList( 3, 4 ), result );
|
Assert.assertEquals( TestTools.makeSet( 3, 4 ), new HashSet<>( result ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue