)]}'
{
  "commit": "411d90c2ffb59559770d23d4bd2f7675e46392e6",
  "tree": "c559b8864d3553ccaed1f1c05474bd3d58c8d0db",
  "parents": [
    "272e999c1bd5f288470adeeb6ff7d6af96ca9101"
  ],
  "author": {
    "name": "sonia-garudi",
    "email": "sgarudi@us.ibm.com",
    "time": "Tue Apr 17 14:23:32 2018 +0530"
  },
  "committer": {
    "name": "pallavi-rao",
    "email": "pallavi.rao@inmobi.com",
    "time": "Tue Apr 17 14:23:32 2018 +0530"
  },
  "message": "FALCON-2334 Tests in UpdateHelperTest suite fails with ParentNotDirectoryException\n\nThe UpdateHelperTest tests fails with the following error :\n`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`\n\nThe errors occurs only when the EntityUtilTest#testIsStagingPath test runs before the tests mentioned above.\n\nThe 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 :\n\n```\nif (createPath \u0026\u0026 !fs.exists(path)) {\n fs.create(path);\n }\n```\nThe change proposed in this pull request deletes the files created in EntityUtilTest#testIsStagingPath after the test checks are done.\n\nAuthor: sonia-garudi \u003csgarudi@us.ibm.com\u003e\n\nReviewers: @pallavi-rao\n\nCloses #408 from sonia-garudi/FALCON-2334\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28a9270df8ea009e91a29b98aae465b4b0b535ca",
      "old_mode": 33188,
      "old_path": "common/src/test/java/org/apache/falcon/entity/EntityUtilTest.java",
      "new_id": "1b07e75f3e0113bb94eecce2c724abf2c74c3c55",
      "new_mode": 33188,
      "new_path": "common/src/test/java/org/apache/falcon/entity/EntityUtilTest.java"
    }
  ]
}
