[midPoint-git] [Evolveum/midpoint] 2ec73c: Stabilize AbstractSynchronizationStoryTest

mederly noreply at github.com
Fri Jul 8 10:51:46 CEST 2022


  Branch: refs/heads/support-4.4
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2ec73cba7ea7f47511d33236aa9d6ee8e4b1541d
      https://github.com/Evolveum/midpoint/commit/2ec73cba7ea7f47511d33236aa9d6ee8e4b1541d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractConfiguredModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractSynchronizationStoryTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingLiveSync.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliationMultiNode.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliationMultithreaded.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliationPartitioned.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliationPlain.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliationWithSubtasks.java
    M model/model-intest/src/test/resources/common/resource-dummy-blue.xml
    M model/model-intest/src/test/resources/common/resource-dummy-green.xml
    M model/model-intest/src/test/resources/common/resource-dummy.xml
    R model/model-intest/src/test/resources/common/task-delete-not-updated-shadows.xml
    R model/model-intest/src/test/resources/common/task-dumy-blue-livesync.xml
    R model/model-intest/src/test/resources/common/task-dumy-green-livesync.xml
    R model/model-intest/src/test/resources/common/task-dumy-livesync.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-blue-multinode.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-blue-multithreaded.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-blue-partitioned.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-blue.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-green-multinode.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-green-multithreaded.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-green-partitioned.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-green.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-multinode.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-multithreaded.xml
    R model/model-intest/src/test/resources/common/task-reconcile-dummy-partitioned.xml
    R model/model-intest/src/test/resources/common/user-template-sync.xml
    A model/model-intest/src/test/resources/sync-story/task-live-sync-dummy-blue.xml
    A model/model-intest/src/test/resources/sync-story/task-live-sync-dummy-green.xml
    A model/model-intest/src/test/resources/sync-story/task-live-sync-dummy.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-blue-multinode.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-blue-multithreaded.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-blue-with-subtasks.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-blue.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-green-multinode.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-green-multithreaded.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-green-with-subtasks.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-green.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-multinode.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-multithreaded.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy-with-subtasks.xml
    A model/model-intest/src/test/resources/sync-story/task-reconcile-dummy.xml
    A model/model-intest/src/test/resources/sync-story/task-shadow-cleanup-green.xml
    A model/model-intest/src/test/resources/sync-story/user-template-sync.xml
    M model/model-intest/testng-db-specific.xml
    M model/model-intest/testng-integration-full.xml

  Log Message:
  -----------
  Stabilize AbstractSynchronizationStoryTest

These tests were unstable from the day one. The concurrent nature
of synchronization tasks led to a whole spectrum of various failures.
But we don't consider them important, because we want to concentrate
only on the basic functionality of multi-resource synchronization here.

So now we changed these tests so that concurrent execution is avoided.

Other changes:

1. Some test artifacts (tasks, sync object template) were moved from
`common` directory to test-specific `sync-story` one. This is to lessen
the potential for coupling between the tests. (They weren't used in
other tests, anyway.)

2. The test code was modernized a bit.

(cherry picked from commit 27a309f7c0050c55b3b4c2c51dd3582a03754b29)


  Commit: 39447874d6a47d6694c7e63a45cf261b977da607
      https://github.com/Evolveum/midpoint/commit/39447874d6a47d6694c7e63a45cf261b977da607
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/RepoAssignmentListProvider.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/support-4.4' into support-4.4


Compare: https://github.com/Evolveum/midpoint/compare/1d5ea8df6890...39447874d6a4


More information about the midPoint-svn mailing list