[midPoint-git] [Evolveum/midpoint] 7699e0: Work around failing TestResources

Pavol Mederly mederly at evolveum.com
Wed Jan 31 18:08:08 CET 2018


  Branch: refs/heads/feature/modify
  Home:   https://github.com/Evolveum/midpoint
  Commit: 7699e09a5f7660ee60e7ceb7ec9d7a11f61fd598
      https://github.com/Evolveum/midpoint/commit/7699e09a5f7660ee60e7ceb7ec9d7a11f61fd598
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-01-31 (Wed, 31 Jan 2018)

  Changed paths:
    M infra/prism/src/main/java/com/evolveum/midpoint/prism/delta/ItemDelta.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java

  Log Message:
  -----------
  Work around failing TestResources

When applying delta with both ADD and DELETE values, we originally
added values first and then deleted them. So if a value was in both
ADD and DELETE parts, it was in fact deleted.

Now we DELETE first, and then ADD. It is not correct neither,
but let's use it as a temporary workaround for some test failures.

Correct approach is that these deltas should be forbidden, and
diff methods should not generate them.




More information about the midPoint-svn mailing list