[midPoint-git] [Evolveum/midpoint] f82d65: Fix two tests

mederly noreply at github.com
Thu Aug 29 14:10:42 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: f82d65c0a33eeef171a17fd5b86f69759b9eb85e
      https://github.com/Evolveum/midpoint/commit/f82d65c0a33eeef171a17fd5b86f69759b9eb85e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Fix two tests

- TestAssignmentErrors is now adapted to caching
- TestModelServiceContract is fixed regarding some earlier changes
(TestModelServiceContractCaching now caches more aggressively)


  Commit: 5856f0c80153d25cee123fe8c64aa50aafa6f025
      https://github.com/Evolveum/midpoint/commit/5856f0c80153d25cee123fe8c64aa50aafa6f025
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/InboundSourceData.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/FullInboundsProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java

  Log Message:
  -----------
  Fix inbounds regarding deltas

#1 in 441ac351a6b6c8c28be8baeafcfb5a85b2b80757 was perhaps too naive,
as it did not take volatile resources in to account: the old state
of the object plus delta may be different from its new state.

So, here we are more cautious: we assume that if there's no delta
for an attribute, the new state is the authoritative one. It's still
not 100% correct (as there may be deltas on volatile attributes), but
it's the best that could be done here.

This should fix TestVolatility and TestInternalCorrelationMultiAccounts.


  Commit: 4498899238204018f9a4968ce65e8033d9d67b53
      https://github.com/Evolveum/midpoint/commit/4498899238204018f9a4968ce65e8033d9d67b53
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M model/model-intest/src/test/resources/tasks/livesync/resource-dummy-interrupted-sync.xml

  Log Message:
  -----------
  Fix dummy test resource

This fixes TestProgressReporting. It seems that recent changes extended
the number of inbound mappings evaluated somehow.


  Commit: d1093cbfcd9a07939a1900ddb0268a905da8efa9
      https://github.com/Evolveum/midpoint/commit/d1093cbfcd9a07939a1900ddb0268a905da8efa9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M docs/admin-gui/collections-views/configuration/index.adoc
    M docs/concepts/workflows/index.adoc
    M docs/deployment/post-initial-import.adoc
    M docs/expressions/expressions/profiles/configuration.adoc
    M docs/expressions/expressions/profiles/coverage.adoc
    M docs/interfaces/rest/endpoints/index.adoc
    M docs/misc/bulk/actions/index.adoc
    M docs/misc/bulk/index.adoc
    M docs/misc/bulk/password.adoc
    M docs/misc/bulk/raw-mode.adoc
    M docs/misc/bulk/scripting-tasks.adoc
    M docs/misc/bulk/variables.adoc
    M docs/misc/notifications/sending-custom-notifications.adoc
    M docs/resources/entitlements/index.adoc
    M docs/roles-policies/policy-rules.adoc
    M docs/security/authorization/bulk-actions.adoc
    M docs/security/authorization/model.adoc
    M docs/security/trusted-actions/index.adoc
    M docs/simulation/index.adoc
    M docs/synchronization/linked-objects/index.adoc
    M docs/tasks/activities/error-handling.adoc
    M docs/tasks/activities/index.adoc
    M docs/tasks/activities/work.adoc
    M docs/tasks/parallelized-background-tasks.adoc
    M docs/tasks/redundant-objects-processing/index.adoc
    M docs/tasks/task-error-handling.adoc
    M docs/tasks/task-template.adoc
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/focus/component/FocusProjectionsPanel.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/99ba03a1a343...d1093cbfcd9a

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list