Skip to content

test(engine): stop reboot test destroying shared engines - #4059

Merged
javahippie merged 1 commit into
release/2.2.xfrom
fix/stop-reboot-test-destroying-shared-engines
Nov 6, 2026
Merged

javahippie merged 1 commit into
release/2.2.xfrom
fix/stop-reboot-test-destroying-shared-engines

Conversation

@javahippie

Copy link
Copy Markdown
Contributor

Backport

testStartProcessInstanceByIdAfterReboot called ProcessEngines.destroy(). That closed the engine cached by shared static ProcessEngineExtension instances, e.g. in AbstractUserOperationLogTest. A later class registered a new "default" engine, so the extension kept the closed one. Its job executor had no engines and never acquired jobs. This made UserOperationLogJobTest time out in the new test class order on ubuntu-26.04.

The test uses its own engines and database, so destroy() is not needed.

related to #4052

testStartProcessInstanceByIdAfterReboot called ProcessEngines.destroy().
That closed the engine cached by shared static ProcessEngineExtension
instances, e.g. in AbstractUserOperationLogTest. A later class registered
a new "default" engine, so the extension kept the closed one. Its job
executor had no engines and never acquired jobs. This made
UserOperationLogJobTest time out in the new test class order on
ubuntu-26.04.

The test uses its own engines and database, so destroy() is not needed.

related to #4052
@github-actions github-actions Bot added lang:java Pull requests that update Java code scope:tests Changes affecting only test code labels Nov 6, 2026
@javahippie
javahippie merged commit 43df6f2 into release/2.2.x Nov 6, 2026
8 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2026

Copy link
Copy Markdown

@kthoms kthoms added this to the 2.2.1 milestone Nov 6, 2026
@kthoms
kthoms deleted the fix/stop-reboot-test-destroying-shared-engines branch November 9, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:java Pull requests that update Java code scope:tests Changes affecting only test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants