You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The distro profile in engine-rest/engine-rest/pom.xml sets skipTests=true for surefire (inherited from Camunda, 2015). Every regular build activates distro:
build.yml and pr-build.yml via .devenv/scripts/build/build.sh, all build profiles (fast, normal, max)
So the ~3600 engine-rest tests are skipped on every PR and main build ("Tests are skipped." in the build log).
Until #3990 they only ran by accident in "Unit Tests with Databases". build-and-run-unit-tests.sh ran the full reactor without distro, not just the engine. That workflow only runs on manual dispatch, so the tests ran rarely. Two problems stayed hidden as a result: a test hang caused by a leaked ClockUtil (fixed in #3991) and a timezone-dependent assertion in HistoryCleanupRestServiceInteractionTest (fix pending). #3990 limited the DB workflow to the DB-dependent modules, so engine-rest tests now run nowhere.
The tests use mocks only and need no database. Locally the module takes about 3 minutes.
Proposal:
Run engine-rest tests in the PR and main build. Either drop skipTests from the distro profile, or add a separate step or job.
Decide whether the resteasy and jersey3 profile variants need to run too.
The other modules that skip tests under distro are QA and integration test modules. They have their own runs and are out of scope.
Activity
fix(engine-rest): parse batch window after fixing clock (#3993)