Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5587

Randomize internal http service working directory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jens.deppe Jens Deppe
            jens.deppe Jens Deppe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment