You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2011/04/12 11:08:06 UTC

[jira] [Resolved] (SLING-2050) PostServletOutputContentTypeTest shouldn't rely on a StackOverflowError

     [ https://issues.apache.org/jira/browse/SLING-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-2050.
----------------------------------------

    Resolution: Fixed

Fixed in revision 1091328, the test now uses an invalid post servlet operation to trigger an error.

> PostServletOutputContentTypeTest shouldn't rely on a StackOverflowError
> -----------------------------------------------------------------------
>
>                 Key: SLING-2050
>                 URL: https://issues.apache.org/jira/browse/SLING-2050
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> PostServletOutputContentTypeTest uses a recursive copy to cause a server-side error. The operation causes a StackOverflowError which can take a long time to come up, and could cause other issues server-side.
> To avoid problems, the test should use another operation to cause a server-side error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira