Merge lp:~free.ekanayaka/landscape-charm/use-sample-hashids-for-tests into lp:~landscape/landscape-charm/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Free Ekanayaka | ||||
Approved revision: | 266 | ||||
Merged at revision: | 270 | ||||
Proposed branch: | lp:~free.ekanayaka/landscape-charm/use-sample-hashids-for-tests | ||||
Merge into: | lp:~landscape/landscape-charm/trunk | ||||
Diff against target: |
136 lines (+57/-5) 3 files modified
lib/apt.py (+16/-0) lib/tests/test_apt.py (+20/-1) tests/helpers.py (+21/-4) |
||||
To merge this branch: | bzr merge lp:~free.ekanayaka/landscape-charm/use-sample-hashids-for-tests | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fernando Correa Neto (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Björn Tillenius (community) | Approve | ||
Review via email: mp+258771@code.launchpad.net |
Commit message
Use the lightweight hashids package when running integration tests.
This branch changes the integration tests code to add a "flag" use-sample-hashids file to the charm directory. If the install hook sees this file it will add an extra PPA that holds a lightweight hashids package.
Description of the change
Use the lightweight hashids package when running integration tests.
This branch changes the integration tests code to add a "flag" use-sample-hashids file to the charm directory. If the install hook sees this file it will add an extra PPA that holds a lightweight hashids package.
The extra PPA is a temporary one, but is good enough for now.
To test it, just run integration tests:
SKIP_SLOW_TESTS=1 make integration-
(make sure juju is pointing to a non-bootstrapped environment, with the local provider)
Command: make ci-test /ci.lscape. net/job/ latch-test/ 892/
Result: Success
Revno: 264
Branch: lp:~free.ekanayaka/landscape-charm/use-sample-hashids-for-tests
Jenkins: https:/