I have configured an EventListener, which should get triggered on event "ENTITY_DELETED" for entity type "process-instance". When a timer is executed, however, the EventListener gets triggered for entity type "execution". This behavior is introduced in version 5.16.0.
I am attaching a zip archive with a unit test, which demonstrates this behavior. The EventListener outputs in the standard output whenever its triggered.
A possible workaround is to implement a conditional logic in the EventListener to check if the entity type is the expected one.