parent
cb81a17611
commit
a14501dd77
1 changed files with 2 additions and 0 deletions
|
@ -558,6 +558,8 @@ public class JpaRealmProvider implements RealmProvider, ClientProvider, ClientSc
|
|||
|
||||
return closing(paginateQuery(groupsQuery, first, max).getResultStream()
|
||||
.map(realm::getGroupById)
|
||||
// In concurrent tests, the group might be deleted in another thread, therefore, skip those null values.
|
||||
.filter(Objects::nonNull)
|
||||
.sorted(GroupModel.COMPARE_BY_NAME)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue