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

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

GitHub user nabarunnag opened a pull request:

    https://github.com/apache/incubator-geode/pull/119

    GEODE-1142: Modified the cleanUpVM function to clear all directories, fixed 
cleanDiskDir.

    GEODE-1142: Modified the cleanUpVM function to clear all directories. Fixed 
cleanDiskDir function to delete BACKUPDiskStore files.
    
    * removed System.property("vmid") in cleanDiskDir as this property was 
never set in the project.
    * replaced removePDXDirs with cleanDiskDirs function to clean up all the 
directories.

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

    $ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-1142

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

    https://github.com/apache/incubator-geode/pull/119.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 #119
    
----
commit 2e5a5bc0f13c3d34609b327c903431bf8303ea5b
Author: nabarun <[email protected]>
Date:   2016-03-29T22:27:31Z

    GEODE-1142: Modified the cleanUpVM function to clear all directories. Fixed 
cleanDiskDir function to delete BACKUPDiskStore files.
    
    * removed System.property("vmid") in cleanDiskDir as this property was 
never set in the project.
    * replaced removePDXDirs with cleanDiskDirs function to clean up all the 
directories.

----


> Cleanup function calls during test tear down are not cleaning up the 
> necessary files before execution of the next test.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1142
>                 URL: https://issues.apache.org/jira/browse/GEODE-1142
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: nabarun
>
> The second iteration of test cases like 
> SerialWANPropogationDUnitTest.testReplicatedSerialPropagationWithRemoteReceiverRestartedOnOtherNode
>  always hangs because the second iteration of the test case takes into 
> account the residual files from the previous test runs. These residual files 
> remain because the clean up operations in test tear-down do not clean up all 
> the files.
> Also cleanDiskDirs function needs modification as it is not able to clean up 
> the BACKUPDiskStore files because it searches for a system property called 
> "vmid" which was never set in the code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to