This is an automated email from the ASF dual-hosted git repository.

ashapkin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 659452fc36d IGNITE-28001 findAllByExamplePageable must use ordered 
pagination (#7675)
659452fc36d is described below

commit 659452fc36d7459d441dfe92cb45d0b0eab4c0af
Author: Mikhail Efremov <[email protected]>
AuthorDate: Thu Feb 26 17:49:43 2026 +0600

    IGNITE-28001 findAllByExamplePageable must use ordered pagination (#7675)
---
 .../java/org/apache/ignite/data/SpringDataJdbcTest.java   | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git 
a/modules/spring/spring-data-ignite/src/test/java/org/apache/ignite/data/SpringDataJdbcTest.java
 
b/modules/spring/spring-data-ignite/src/test/java/org/apache/ignite/data/SpringDataJdbcTest.java
index 7f048082833..1304ff4c1f9 100644
--- 
a/modules/spring/spring-data-ignite/src/test/java/org/apache/ignite/data/SpringDataJdbcTest.java
+++ 
b/modules/spring/spring-data-ignite/src/test/java/org/apache/ignite/data/SpringDataJdbcTest.java
@@ -21,6 +21,7 @@ import static java.util.Arrays.asList;
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 import static org.assertj.core.api.SoftAssertions.assertSoftly;
+import static org.springframework.data.domain.Sort.Direction.ASC;
 
 import java.nio.file.Path;
 import java.util.Collections;
@@ -677,13 +678,13 @@ public class SpringDataJdbcTest extends 
BaseIgniteAbstractTest {
 
     static Stream<Arguments> findAllByExamplePageableSource() {
         return Stream.of(
-                Arguments.of(PageRequest.of(0, 3), 3, 34, asList("3", "4", 
"100")),
-                Arguments.of(PageRequest.of(1, 10), 10, 10, asList("9", "20", 
"30")),
-                Arguments.of(PageRequest.of(2, 10), 10, 10, asList("1", "2", 
"3")),
-                Arguments.of(PageRequest.of(33, 3), 1, 34, 
Collections.emptyList()),
-                Arguments.of(PageRequest.of(36, 3), 0, 34, 
Collections.emptyList()),
-                Arguments.of(PageRequest.of(0, 10000), 100, 1, 
Collections.emptyList()),
-                Arguments.of(PageRequest.of(100, 10000), 0, 1, 
Collections.emptyList())
+                Arguments.of(PageRequest.of(0, 3, ASC, "id"), 3, 34, 
asList("3", "4", "100")),
+                Arguments.of(PageRequest.of(1, 10, ASC, "id"), 10, 10, 
asList("9", "20", "30")),
+                Arguments.of(PageRequest.of(2, 10, ASC, "id"), 10, 10, 
asList("1", "2", "3")),
+                Arguments.of(PageRequest.of(33, 3, ASC, "id"), 1, 34, 
Collections.emptyList()),
+                Arguments.of(PageRequest.of(36, 3, ASC, "id"), 0, 34, 
Collections.emptyList()),
+                Arguments.of(PageRequest.of(0, 10000, ASC, "id"), 100, 1, 
Collections.emptyList()),
+                Arguments.of(PageRequest.of(100, 10000, ASC, "id"), 0, 1, 
Collections.emptyList())
         );
     }
 

Reply via email to