geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1142) Cleanup function calls during test tear down are not cleaning up the necessary files before execution of the next test.
Date Thu, 31 Mar 2016 21:24:25 GMT

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

ASF subversion and git services commented on GEODE-1142:
--------------------------------------------------------

Commit 295db7b0ca2cdf635284e57891e1c7edc74333ac in incubator-geode's branch refs/heads/develop
from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=295db7b ]

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.

This closes #119


> 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)

Mime
View raw message