PublishedEvents
should see events published from asynchronous event listeners, too
#116
Labels
Milestone
Currently,
PublishedEvents
is backed by aThreadLocal
to isolate the test execution from others potentially running in parallel. That unfortunately means, that events published asynchronous event listeners are not seen byPublishedEvents
as they are published by the task executing thread.We should switch to an
InheritableThreadLocal
for the event capturing to see all events that originate in threads spawned by the test executing one as well.The text was updated successfully, but these errors were encountered: