[midPoint-git] [Evolveum/midpoint] 8b71c5: TestWorkerTasks: Run clusterManagerThread

Tony Tkáčik noreply at github.com
Tue Oct 19 19:35:48 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 8b71c5b9f68efe9ed2cfd3ce6337c8daf98dbbae
      https://github.com/Evolveum/midpoint/commit/8b71c5b9f68efe9ed2cfd3ce6337c8daf98dbbae
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

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

  Log Message:
  -----------
  TestWorkerTasks: Run clusterManagerThread

This test was fast with in-memory database and with new postgresql, so missing updates of node availability
were not visible. Once database is external and uses hibernate local node timeouted, so task rescheduling
did not worked correctly.

Start clusterManager update thread (as in running application) ensured that timestamps in DB are correct
and node is correctly visible during testing.

Signed-off-by: Tony Tkacik <tonydamage at gmail.com>




More information about the midPoint-svn mailing list