Skip to content

Commit

Permalink
Add security context in TestLdapSyncMassive
Browse files Browse the repository at this point in the history
This should resolve "No authorization" exceptions that occur
in some environments.

(cherry picked from commit 97b8a2b)
  • Loading branch information
mederly committed May 26, 2021
1 parent 06621f6 commit 6621cb0
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -352,6 +352,7 @@ public void test232UserRecomputeParallel() throws Exception {
int segmentSize = users.size() / NUMBER_OF_TEST_THREADS;
ParallelTestThread[] threads = multithread(
(threadIndex) -> {
login(userAdministrator.clone());
for (int i = segmentSize * threadIndex; i < segmentSize * threadIndex + segmentSize; i++) {
PrismObject<UserType> user = users.get(i);
reconcile(user);
Expand Down

0 comments on commit 6621cb0

Please sign in to comment.