[midPoint-git] [Evolveum/midpoint] 9fbc59: Adapt TestModelServiceContractCaching

mederly noreply at github.com
Mon Sep 30 11:49:18 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 9fbc59e0ada52aa3a31b90cb1fe0bcac35130ee0
      https://github.com/Evolveum/midpoint/commit/9fbc59e0ada52aa3a31b90cb1fe0bcac35130ee0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContractCaching.java
    M model/model-intest/src/test/resources/common/resource-dummy-blue-caching.xml
    M model/model-intest/src/test/resources/common/resource-dummy-caching.xml
    M model/model-intest/src/test/resources/common/resource-dummy-green-caching.xml

  Log Message:
  -----------
  Adapt TestModelServiceContractCaching

Assertions in this test assumed the default cache use policy is
"use cached". After changing the default to "use fresh" in
0acb5a1e65c6f0c505935f6da68a7d64b94199d6 they started to fail.

The resolution in this commit is to force "use cached" in the relevant
resources (dummy, blue, and green). So the test passes for both native
and generic repo.



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