ilgrosso commented on code in PR #859: URL: https://github.com/apache/syncope/pull/859#discussion_r1800567132
########## fit/core-reference/src/test/java/org/apache/syncope/fit/core/SearchITCase.java: ########## @@ -1052,4 +1054,40 @@ void issueSYNCOPE1826() { } } + @Test + void userByMembershipAttribute() { + // search user by membership attribute + UserTO puccini = USER_SERVICE.read("puccini"); + GroupTO additional = GROUP_SERVICE.read("additional"); + // add a membership and its plain attribute + updateUser(new UserUR.Builder(puccini.getKey()).memberships( + new MembershipUR.Builder(additional.getKey()).plainAttrs(attr("ctype", "additionalctype")) + .build()).build()); + Awaitility.await().until(() -> USER_SERVICE.search(new AnyQuery.Builder().page(1).size(10) Review Comment: Still `Awaitility.await()` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org