You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/10/03 21:38:28 UTC

[jira] [Closed] (GEODE-5587) Randomize internal http service working directory

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

nabarun closed GEODE-5587.
--------------------------

> Randomize internal http service working directory
> -------------------------------------------------
>
>                 Key: GEODE-5587
>                 URL: https://issues.apache.org/jira/browse/GEODE-5587
>             Project: Geode
>          Issue Type: Bug
>          Components: pulse, rest (admin), rest (dev)
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When starting the http service a given webapp is extracted into a working directory of the form: {{<host>_<port>_<context>}}. As part of shutdown this directory is cleaned up. However the directory is only completely removed when the JVM exits.
> Occasionally subsequent tests will request to use the same port. This results in the same working directory being used. On Windows this will fail as the directory does not let itself be cleaned up before the webapp is redeployed to the same location as before.
> We can randomize the working directory a bit more by adding a short sequence of random chars as part of the directory name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)