[
https://issues.apache.org/jira/browse/CLIMATE-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006028#comment-14006028
]
ASF GitHub Bot commented on CLIMATE-442:
----------------------------------------
GitHub user MJJoyce opened a pull request:
https://github.com/apache/climate/pull/39
CLIMATE-442 - Switch mkdirs to makedirs in test package setup
Fix the problem where nested nonexistent work/path_leader directories cause
the backend tests to fail on setup.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MJJoyce/climate CLIMATE-442
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/climate/pull/39.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 #39
----
commit d86b5d33d21322590959ec58fe100487da3b4390
Author: Michael Joyce <[email protected]>
Date: 2014-05-22T15:31:44Z
CLIMATE-442 - Switch mkdirs to makedirs in test package setup
----
> Cannot have multiple nested directories that don't exist in UI backend tests
> ----------------------------------------------------------------------------
>
> Key: CLIMATE-442
> URL: https://issues.apache.org/jira/browse/CLIMATE-442
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: webapp
> Affects Versions: 0.3-incubating
> Reporter: Michael Joyce
> Assignee: Michael Joyce
> Fix For: 0.4
>
>
> The UI backend tests cannot handle a PATH_LEADER or WORK_DIR where multiple
> nested directories don't exist. For instance, /tmp/ocw/test would cause an
> issue if the user didn't already have a /tmp/ocw folder. Switching over the
> directory creation to use makedirs (instead of mkdir) should fix the problem.
--
This message was sent by Atlassian JIRA
(v6.2#6252)