Skip to content

Commit 8849a33

Browse files
committed
Fix test
1 parent b99b3d8 commit 8849a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/ReactiveStatelessDefaultBatchSizeTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,9 @@ public void testStageBatchingUpdateNoBatchSizeParameter(VertxTestContext context
367367

368368
private CompletionStage<Void> assertExpectedResult(Object[] expected) {
369369
return getSessionFactory().withStatelessTransaction( s -> s
370-
.createQuery( "from GuineaPig p", Object.class )
370+
.createQuery( "from GuineaPig p order by id", Object.class )
371371
.getResultList()
372-
.thenAccept( pigs -> assertThat( pigs ).containsExactlyInAnyOrder( expected ) ) );
372+
.thenAccept( pigs -> assertThat( pigs ).containsExactly( expected ) ) );
373373
}
374374

375375
private static void assertSqlLogTracker(String queryRegex) {

0 commit comments

Comments
 (0)