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 2017/08/09 18:53:00 UTC

[jira] [Commented] (GEODE-3413) Overhaul launcher tests and process tests

    [ https://issues.apache.org/jira/browse/GEODE-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120458#comment-16120458 ] 

ASF GitHub Bot commented on GEODE-3413:
---------------------------------------

GitHub user kirklund opened a pull request:

    https://github.com/apache/geode/pull/699

    GEODE-3413: overhaul launcher and process classes and tests

    This is primarily an overall of all ServerLauncher and LocatorLauncher
    tests and org.apache.geode.internal.process tests. The main classes in
    org.apachage.geode.internal.process package are also cleaned up.
    
    In addition, several bugs involving these classes and tests are fixed.
    
    Here is the complete list of tickets that are resolved in this overhaul:
    
    * GEODE-1229: LocatorLauncherRemoteJUnitTest.testStartOverwritesStalePidFile
    * GEODE-2791: LocatorLauncherAssemblyIntegrationTest.testLocatorStopsWhenJmxPortIsNonZero fails intermittently with AssertionError
    * GEODE-1308: CI failure: LocatorLauncherTest.testSetBindAddressToNonLocalHost
    * GEODE-1309: CI failure: ServerLauncherTest.testSetServerBindAddressToNonLocalHost
    * GEODE-3193: locator pid file is removed even if there was a problem while shutting down
    * GEODE-3413: Overhaul launcher tests and process tests
    * GEODE-3414: Cleanup org.apache.geode.internal.process package
    
    Note I moved all useful tests from LocatorLauncherAssemblyIntegrationTest
    into the other launcher tests in geode-core.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kirklund/geode GEODE-3183-3413-3414

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/699.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #699
    
----
commit 69cdd5cbc7423577b0a5fcde5f8da486437fa387
Author: Kirk Lund <kl...@apache.org>
Date:   2017-07-10T19:30:09Z

    GEODE-3413: overhaul launcher and process classes and tests
    
    This is primarily an overall of all ServerLauncher and LocatorLauncher
    tests and org.apache.geode.internal.process tests. The main classes in
    org.apachage.geode.internal.process package are also cleaned up.
    
    In addition, several bugs involving these classes and tests are fixed.
    
    Here is the complete list of tickets that are resolved in this overhaul:
    
    * GEODE-1229: LocatorLauncherRemoteJUnitTest.testStartOverwritesStalePidFile
    * GEODE-2791: LocatorLauncherAssemblyIntegrationTest.testLocatorStopsWhenJmxPortIsNonZero fails intermittently with AssertionError
    * GEODE-1308: CI failure: LocatorLauncherTest.testSetBindAddressToNonLocalHost
    * GEODE-1309: CI failure: ServerLauncherTest.testSetServerBindAddressToNonLocalHost
    * GEODE-3193: locator pid file is removed even if there was a problem while shutting down
    * GEODE-3413: Overhaul launcher tests and process tests
    * GEODE-3414: Cleanup org.apache.geode.internal.process package
    
    Note I moved all useful tests from LocatorLauncherAssemblyIntegrationTest
    into the other launcher tests in geode-core.

----


> Overhaul launcher tests and process tests
> -----------------------------------------
>
>                 Key: GEODE-3413
>                 URL: https://issues.apache.org/jira/browse/GEODE-3413
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>              Labels: LauncherTest, ProcessTest
>
> The launcher and process tests are closely related and in need of overhauling to improve debugging and remove flakiness.
> In addition, the org.apache.geode.internal.process package is need of improving the test code coverage.
> Launcher tests:
> * geode-assembly/src/test/java/org/apache/geode/distributed/LocatorLauncherAssemblyIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/AbstractLauncherIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/AbstractLauncherServiceStatusTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/AbstractLauncherTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LauncherMemberMXBeanIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherLocalFileIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherLocalIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherRemoteFileIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherRemoteIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherRemoteWithCustomLoggingIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/LocatorStateTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherLocalFileIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherLocalIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherRemoteFileIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherRemoteIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherRemoteWithCustomLoggingIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherRemoteWithCustomLoggingIntegrationTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherTest.java
> * geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherWithProviderIntegrationTest.java
> Process tests:
> * geode-core/src/test/java/org/apache/geode/internal/process/BlockingProcessStreamReaderJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/FileProcessControllerIntegrationJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/LocalProcessControllerJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/LocalProcessLauncherDUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/LocalProcessLauncherJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/NonBlockingProcessStreamReaderJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/PidFileJUnitTest.java
> * geode-core/src/test/java/org/apache/geode/internal/process/ProcessControllerFactoryJUnitTest.java



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)