Skip to content

Commit

Permalink
Remove forgotten tracing in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Mar 14, 2020
1 parent 26878a2 commit 345cb4f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
Expand Up @@ -2650,7 +2650,6 @@ public void test750AddAndDeleteUserWithPrecreate() throws Exception {
OperationResult result = task.getResult();
assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL);

setGlobalTracingOverride(createModelLoggingTracingProfile());
clock.resetOverride();

XMLGregorianCalendar yesterday = clock.currentTimeXMLGregorianCalendar();
Expand Down
Expand Up @@ -131,8 +131,6 @@ public void test100ModifyUserAddAccount() throws Exception {

XMLGregorianCalendar startTime = clock.currentTimeXMLGregorianCalendar();

setGlobalTracingOverride(createModelLoggingTracingProfile());

// WHEN
when();
ObjectDelta<UserType> userDelta = createAddAccountDelta(USER_JACK_OID, ACCOUNT_JACK_DUMMY_FILE);
Expand Down Expand Up @@ -222,8 +220,6 @@ public void test100ModifyUserAddAccount() throws Exception {
@Test
public void test119ModifyUserDeleteAccount() throws Exception {

unsetGlobalTracingOverride();

// GIVEN
Task task = createPlainTask();
OperationResult result = task.getResult();
Expand Down Expand Up @@ -813,8 +809,6 @@ public void test430ExpressionAttachment() throws Exception {
@Test
public void test500RecomputeRole() throws Exception {

setGlobalTracingOverride(addNotificationsLogging(createModelLoggingTracingProfile()));

given();
Task task = getTestTask();
OperationResult result = task.getResult();
Expand Down
Expand Up @@ -1222,8 +1222,6 @@ private void previewAssignRolesToJack(boolean immediate, boolean also24) throws
result.tracingProfile(tracer.compileProfile(addWorkflowLogging(createModelLoggingTracingProfile()), result));
}

setGlobalTracingOverride(createModelAndProvisioningLoggingTracingProfile());

List<AssignmentType> assignmentsToAdd = new ArrayList<>();
assignmentsToAdd.add(createAssignmentTo(roleRole21Oid, ObjectTypes.ROLE, prismContext));
assignmentsToAdd.add(createAssignmentTo(roleRole22Oid, ObjectTypes.ROLE, prismContext));
Expand Down
Expand Up @@ -102,8 +102,6 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti
resource = addResourceFromFile(getResourceFile(), getConnectorTypes(), false, initResult);

InternalsConfig.setSanityChecks(true);

setGlobalTracingOverride(createModelAndProvisioningLoggingTracingProfile());
}

@NotNull
Expand Down

0 comments on commit 345cb4f

Please sign in to comment.