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
When AwsApiProxyTestServer is closed, it should release all of its resources.
Actual Behaviour
AwsApiProxyTestServer creates a custom Jetty web server handler AwsProxyHandler. This handler has its own application context. AwsApiProxyTestServer never calls AwsProxyHandler.destroy(), so the application context is never stopped. Since the application context will typically contain a data source, we also have leaked DB connections as a result.
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.3.2
The text was updated successfully, but these errors were encountered:
In AwsApiProxyTestServer the handler is being created: this.server.setHandler(new AwsProxyHandler(this.applicationContext)); this.server.start();
As a part of this invocation, brand new application context is started. However this context is never stopped, because the method AwsProxyHandler.destroy() is never invoked.
Expected Behavior
When
AwsApiProxyTestServer
is closed, it should release all of its resources.Actual Behaviour
AwsApiProxyTestServer
creates a custom Jetty web server handlerAwsProxyHandler
. This handler has its own application context.AwsApiProxyTestServer
never callsAwsProxyHandler.destroy()
, so the application context is never stopped. Since the application context will typically contain a data source, we also have leaked DB connections as a result.Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
4.3.2
The text was updated successfully, but these errors were encountered: