GitHub user MJJoyce opened a pull request:
https://github.com/apache/climate/pull/24
Climate 416
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MJJoyce/climate CLIMATE-416
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/climate/pull/24.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 #24
----
commit 698f1bacf80f88e73c75bedab8f9daffe139619e
Author: Michael Joyce <[email protected]>
Date: 2014-05-09T17:41:20Z
CLIMATE-416 - Simplify UI backend test file download
- Add package wide test setup.
- Move all example file downloads into the package wide setup. Files are
only downloaded if they're not currently on the system. This keeps
stuff from being downloaded every time tests are run.
commit e8ed85b605d392cb7f9825e4902ab44e5a97ca07
Author: Michael Joyce <[email protected]>
Date: 2014-05-09T17:48:01Z
CLIMATE-416 - Remove test assert from test_processing
commit 829c95dcd644d24fc7742ccb1d5d9969a00adffe
Author: Michael Joyce <[email protected]>
Date: 2014-05-09T18:23:17Z
CLIMATE-416 - Fix test working directory issues
- Move working directory creation to package wide setup.
- Remove all working directory clean up calls from tests. The working
directory used in the tests overlaps with the one used by the toolkit
during actual evaluations. We can't remove the working directory if
there are actual run results present, so instead cleanup is performed
only on the additional artifacts that we create in the working
directory.
- Fix bad directory tests. Many of the result listings were testing an
older format that was no longer valid.
- Add a helper for cleaning the results listing responses to exclude any
possible run folders from actual toolkit evaluations. Other tests that
exercise the toolkit are also writing test results to this directory.
Now any folders that are appropriated named are removed before the
results listing is tested.
- Move WORK_DIR definition out of specific classes an into the module in
test_directory_helpers.
commit 7926286a101a8e45532b233e0820df3601e1ed35
Author: Michael Joyce <[email protected]>
Date: 2014-05-09T18:31:43Z
CLIMATE-416 - Remove Unary metric load from processing test
- At the moment, all Unary metrics are excluded from the UI. The metric
load test was attempting to load a unary metric which was causing it
to fail. The test is now done with only binary metric(s).
commit 042c9d3a28213c5d6af7a7dd2096c787027d2516
Author: Michael Joyce <[email protected]>
Date: 2014-05-09T18:35:40Z
CLIMATE-416 - Remove web services init test
- The initialization test in run_webservices was not especially useful.
It would simply check if it got a 200 back from requesting the UI's
index. Additionally, if the frontend was not symlinked in the location
that the backend expected the test would break. In light of this, the
test has been removed. The other tests which setup a faux backend are
sufficient to ensure that initialization is correct while also not
being as brittle.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---