[jboss-jira] [JBoss JIRA] (WFCORE-3595) SuspendOnSoftKillTestCase can fail intermittently

Stuart Douglas (JIRA) issues at jboss.org
Sun Feb 11 20:59:00 EST 2018


     [ https://issues.jboss.org/browse/WFCORE-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas updated WFCORE-3595:
-----------------------------------
    Description: 
The issue is that TestUndertowService is designed for testing suspend/resume rather than an actual graceful shutdown. Because it attempts to perform a dispatch() and queue a task rather than just immediately setting a 503 response it is possible that this request will fail with a 500 response if the XNIO executor is in the process of shutting down.

It would be better if this test checked for a 503 before the skip-graceful request is made.


> SuspendOnSoftKillTestCase can fail intermittently
> -------------------------------------------------
>
>                 Key: WFCORE-3595
>                 URL: https://issues.jboss.org/browse/WFCORE-3595
>             Project: WildFly Core
>          Issue Type: Bug
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>
> The issue is that TestUndertowService is designed for testing suspend/resume rather than an actual graceful shutdown. Because it attempts to perform a dispatch() and queue a task rather than just immediately setting a 503 response it is possible that this request will fail with a 500 response if the XNIO executor is in the process of shutting down.
> It would be better if this test checked for a 503 before the skip-graceful request is made.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list