Merge lp://staging/~vila/uci-engine/cleanup-data-store into lp://staging/uci-engine
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~vila/uci-engine/cleanup-data-store |
Merge into: | lp://staging/uci-engine |
Prerequisite: | lp://staging/~vila/uci-engine/stores-with-path |
Diff against target: |
213 lines (+47/-61) 2 files modified
ci-utils/ci_utils/data_store.py (+37/-43) tests/test_data_store.py (+10/-18) |
To merge this branch: | bzr merge lp://staging/~vila/uci-engine/cleanup-data-store |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joe Talbott (community) | Needs Information | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+242218@code.staging.launchpad.net |
This proposal supersedes a proposal from 2014-11-19.
Commit message
Cleanup data_store.py and the related tests
Description of the change
This cleans up data store and its tests as a pre-requisite for implementing reliable container deletion.
Unmerged revisions
- 905. By Vincent Ladeuil
-
Tested with ./run-tests ^tests.test_style ^tests.
test_data_ store befor submission. (and some cosmetic changes)
- 904. By Vincent Ladeuil
-
This test pollutes the run output.
- 903. By Vincent Ladeuil
-
Log auth info (except for the password).
Rewrite exception in list_files.
- 902. By Vincent Ladeuil
-
Simplify clear() and delete() by removing duplication.
- 901. By Vincent Ladeuil
-
Remove useless import.
- 900. By Vincent Ladeuil
-
Tests should not addCleanup(
self.ds. delete_ file, self.filename). It can lead to self.addCleanup
(self.ds. delete, recursive=True) failing with 404 because the file is deleted after delete() calls list_files() but before it calls delete_file() for the same file. - 899. By Vincent Ladeuil
-
Remove duplication.
- 898. By Vincent Ladeuil
-
Fix pyflakes issue.
- 897. By Vincent Ladeuil
-
Now that the 'cli' is gone, nobody requires artifact paths to be reduced to their basename. The corresponding tests are not required anymore either.
PASSED: Continuous integration, rev:905 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1728/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/1728/ rebuild
http://