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.
  • Loading branch information
mederly committed May 11, 2021
1 parent d5589f4 commit 97b8a2b
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 97b8a2b

Please sign in to comment.