[midPoint-git] [Evolveum/midpoint] 27a309: Stabilize AbstractSynchronizationStoryTest

mederly noreply at github.com
Mon Apr 4 22:56:00 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 27a309f7c0050c55b3b4c2c51dd3582a03754b29
      https://github.com/Evolveum/midpoint/commit/27a309f7c0050c55b3b4c2c51dd3582a03754b29
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-04 (Mon, 04 Apr 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.


  Commit: 7fe176ea2ad14a83554a80c7359cdd95115af0ef
      https://github.com/Evolveum/midpoint/commit/7fe176ea2ad14a83554a80c7359cdd95115af0ef
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-04 (Mon, 04 Apr 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:
  -----------
  Merge branch 'tmp/fix-sync-story-tests'


Compare: https://github.com/Evolveum/midpoint/compare/40b7e986c3c0...7fe176ea2ad1


More information about the midPoint-svn mailing list