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
I understand that this issue duplicates or even causes #103.
Both the spring ctxt shutdown as well as the after suite notifications are being run in parallel in two different JVM shutdown hooks. Now interacting with ctxt beans while shutting down the ctxt at the same time is an error-prone race.
What seems to me as a potential solution to this problem is introducing an @Ordered race-free shutdown sequence moving the AfterSuiteShutdownHook to be a ApplicationListener<ContextClosedEvent> participating in the spring ctxt shutdown.
Even if this is an older issue: would it be possible for you to check whether the problem still exists with the newer Citrus versions and provide a sample test case if it does?
I understand that this issue duplicates or even causes #103.
Both the spring ctxt shutdown as well as the after suite notifications are being run in parallel in two different JVM shutdown hooks. Now interacting with ctxt beans while shutting down the ctxt at the same time is an error-prone race.
What seems to me as a potential solution to this problem is introducing an
@Order
ed race-free shutdown sequence moving theAfterSuiteShutdownHook
to be aApplicationListener<ContextClosedEvent>
participating in the spring ctxt shutdown.@christophd?
The text was updated successfully, but these errors were encountered: