[midPoint-git] [Evolveum/midpoint] 526f55: Add a test for concurrent assignment additions

mederly noreply at github.com
Fri Jan 16 00:10:44 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 526f553beacc65415b85ffb5ac5033d7bacca084
      https://github.com/Evolveum/midpoint/commit/526f553beacc65415b85ffb5ac5033d7bacca084
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoConcurrencyTest.java

  Log Message:
  -----------
  Add a test for concurrent assignment additions

Here we test adding the same assignment by multiple threads
simultaneously. There should be only one assignment present
afterwards.

Related to #10714.


  Commit: d19f1f22ee658eb3644114989bf89097f32d3591
      https://github.com/Evolveum/midpoint/commit/d19f1f22ee658eb3644114989bf89097f32d3591
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    A infra/test-util/src/main/java/com/evolveum/midpoint/test/util/AbstractMultithreadCycleRunner.java
    M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/MultithreadRunner.java
    M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/ParallelTestThread.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRaceConditions.java

  Log Message:
  -----------
  Add model test for concurrent assignment creation

Here we test adding the same assignment by multiple threads
simultaneously, at the model level. There should be only one
assignment present afterwards.

The test is disabled because it fails.

Also, slightly improved parallel threading mechanisms for tests.

See #10714.


Compare: https://github.com/Evolveum/midpoint/compare/84d75fae72f0...d19f1f22ee65

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