You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/04/02 05:00:26 UTC

[syncope] 04/04: [SYNCOPE-1466] Attempting to make PullTaskITCase#reconcileFromLDAP more stable

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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 4e0f69656489368b67ef432c3bdd258292a0c9a6
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Apr 2 07:00:06 2020 +0200

    [SYNCOPE-1466] Attempting to make PullTaskITCase#reconcileFromLDAP more stable
---
 .../src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
index 27cb5aa..a08e829 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
@@ -401,6 +401,8 @@ public class PullTaskITCase extends AbstractTaskITCase {
                 new AnyQuery.Builder().realm(SyncopeConstants.ROOT_REALM).
                         fiql(SyncopeClient.getUserSearchConditionBuilder().is("lastChangeContext").
                                 equalTo("*PullTask " + task.getKey() + "*").query()).
+                        orderBy(SyncopeClient.getOrderByClauseBuilder().desc("lastChangeDate").build()).
+                        page(1).size(100).
                         build());
         assertNotNull(matchByLastChangeContext);
         assertTrue(matchByLastChangeContext.getResult().contains(matchingUsers.getResult().get(0)));