]
Jason Greene reassigned WFLY-5162:
----------------------------------
Assignee: Jason Greene (was: Stuart Douglas)
Graceful shutdown on server group doesn't take into account
timeout
-------------------------------------------------------------------
Key: WFLY-5162
URL:
https://issues.jboss.org/browse/WFLY-5162
Project: WildFly
Issue Type: Bug
Components: Server, Web (Undertow)
Affects Versions: 10.0.0.Beta1
Reporter: Radim Hatlapatka
Assignee: Jason Greene
Priority: Critical
Fix For: 10.0.0.Beta2
Attachments: long-running-servlet.war
The timeout for graceful shutdown in case of domain server groups isn't respected.
Steps to reproduce
# start server in domain (domain.sh)
# Deploy application which allows creating long running requests (you can use the one
provided in attachment)
# Create request to server-one (in main server group), which shall take longer time then
graceful shutdown for example 50s ({{curl -v
http://127.0.0.1:8080/long-running-servlet/HeavyProcessing?duration=50000}})
# In the mean time call graceful shutdown on main server group
({{/server-group=main-server-group:stop-servers(timeout=5)}})
The request should be terminated by server after 5s, still it is fully processed with 200
status code.