[midPoint-git] [Evolveum/midpoint] 5ba328: Fix race condition in TestInboundOutboundAssociation

mederly noreply at github.com
Wed May 26 13:21:57 CEST 2021


  Branch: refs/heads/support-4.3
  Home:   https://github.com/Evolveum/midpoint
  Commit: 5ba3288c6c58161f9a61c8e09f4a1b26ddc9ef0f
      https://github.com/Evolveum/midpoint/commit/5ba3288c6c58161f9a61c8e09f4a1b26ddc9ef0f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestInboundOutboundAssociation.java

  Log Message:
  -----------
  Fix race condition in TestInboundOutboundAssociation

This caused occasional (but quite regular) failures of this test.

(cherry picked from commit e36fa476f08785538d224423b54c9387c7e46da3)


  Commit: ffd8a83b69cc3b7a8d6c6359796e564c706396f7
      https://github.com/Evolveum/midpoint/commit/ffd8a83b69cc3b7a8d6c6359796e564c706396f7
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-full.xml
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-simulate-multithreaded.xml
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-simulate.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-full.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-execute.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-multithreaded.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate.xml

  Log Message:
  -----------
  Make TestThresholds more robust

Ideally, these tasks should start on demand. But for now,
even increasing their cycle interval seems to improve their
reliability.

(cherry picked from commit d1b1e6e37ff926f891f6bc323e7c30ce42e6a806)


  Commit: e301e3f4fa2e398d99a778f9ff0ee0bf81ae9801
      https://github.com/Evolveum/midpoint/commit/e301e3f4fa2e398d99a778f9ff0ee0bf81ae9801
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestEscalation.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java

  Log Message:
  -----------
  Fix code for running trigger task on demand

This should improve the stability of TestStrings.

(cherry picked from commit ac45fc102f55306133706b3bd679b99710f02267)


  Commit: 06621f659f57faac4ac9e9183bc3187faa8cccd7
      https://github.com/Evolveum/midpoint/commit/06621f659f57faac4ac9e9183bc3187faa8cccd7
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconFull.java

  Log Message:
  -----------
  Weaken asserts in TestThresholdsReconFull

These are too strong in current setup. This is only a workaround,
however. The serious solution is to make task running on demand,
not in regular intervals.

(cherry picked from commit 02c8781bbccd0af1274dc254dcbba2fc1195a166)


  Commit: 6621cb014c3b0c28bba99ecc1d411e22b575d492
      https://github.com/Evolveum/midpoint/commit/6621cb014c3b0c28bba99ecc1d411e22b575d492
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapSyncMassive.java

  Log Message:
  -----------
  Add security context in TestLdapSyncMassive

This should resolve "No authorization" exceptions that occur
in some environments.

(cherry picked from commit 97b8a2b107a7acc558cbd370691e6be2042e009d)


Compare: https://github.com/Evolveum/midpoint/compare/c83d58122f39...6621cb014c3b


More information about the midPoint-svn mailing list