You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/30 21:33:00 UTC

[jira] [Updated] (GEODE-9483) StartLocatorCommandIntegrationTest creates unnecessary processes and leaves them running

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

ASF GitHub Bot updated GEODE-9483:
----------------------------------
    Labels: pull-request-available  (was: )

> StartLocatorCommandIntegrationTest creates unnecessary processes and leaves them running
> ----------------------------------------------------------------------------------------
>
>                 Key: GEODE-9483
>                 URL: https://issues.apache.org/jira/browse/GEODE-9483
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>            Reporter: Dale Emery
>            Assignee: Dale Emery
>            Priority: Major
>              Labels: pull-request-available
>
> Two of the tests in {{StartLocatorCommandIntegrationTest}} launch a locator process that binds to the default HTTP service port (7070). Tests should not use the default port for any service.
> Neither test actually needs the launched locator for any purpose. Neither test makes a single assertion about the locator. When the tests exit, they leave the locator running. In fact, the locator typically finishes launching well after the tests have all exited.
> Rather than fix the port assignment, we should instead change the tests so that they do not actually launch a locator. Two of the tests in this class already do this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)