falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sonia-garudi <...@git.apache.org>
Subject [GitHub] falcon pull request #408: FALCON-2334 Tests in UpdateHelperTest suite fails ...
Date Thu, 12 Apr 2018 07:00:53 GMT
GitHub user sonia-garudi opened a pull request:


    FALCON-2334 Tests in UpdateHelperTest suite fails with ParentNotDirectoryException

    The UpdateHelperTest tests fails with the following error :
    `Parent path is not a directory: /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample`
    The errors occurs only when the EntityUtilTest#testIsStagingPath test runs before the
tests mentioned above.
    The following code in EntityUtilTest#testIsStagingPath creates a file at path - target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample
 which causes the error :
    if (createPath && !fs.exists(path)) {
    The change proposed in this pull request deletes the files created in EntityUtilTest#testIsStagingPath
after the test checks are done.

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

    $ git pull https://github.com/sonia-garudi/falcon FALCON-2334

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


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

    This closes #408
commit 782712b30ce55d94b143ee6e484f070d1b92994e
Author: sonia-garudi <sgarudi@...>
Date:   2018-04-12T06:53:14Z

    Update EntityUtilTest#testIsStagingPath to delete created files



View raw message