Merge lp:~1chb1n/charm-helpers/amulet-relations-settled into lp:charm-helpers
Status: | Work in progress |
---|---|
Proposed branch: | lp:~1chb1n/charm-helpers/amulet-relations-settled |
Merge into: | lp:charm-helpers |
Diff against target: |
63 lines (+46/-0) 1 file modified
charmhelpers/contrib/amulet/utils.py (+46/-0) |
To merge this branch: | bzr merge lp:~1chb1n/charm-helpers/amulet-relations-settled |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Beisner (community) | Disapprove | ||
Corey Bryant (community) | Approve | ||
James Page | Pending | ||
Liam Young | Pending | ||
Review via email: mp+263724@code.launchpad.net |
Description of the change
Add check_hooks_
Prior to this, openstack amulet tests relied on an arbitrary sleep time after deployment returned "complete," to wait for hooks to settle. That was racey, as the sleep time was not always enough during higher testing load.
This proposal uses the logic that openstack-
# Charm test MPs which depend on this landing:
https:/
Unmerged revisions
- 404. By Ryan Beisner
-
rebase
- 403. By Ryan Beisner
-
add 2nd _remote_runs check back in
- 402. By Ryan Beisner
-
Plumb timeout all the way through;
Remove 2nd _remote_runs check;
Adjust _remote_run failure feedback. - 401. By Ryan Beisner
-
add juju_hooks_complete to amulet/utils.py (based on openstack-
mojospecs)
FYI: To check the new wait logic, I repeatedly ran multiple simultaneous jobs while the system was under load, and all passed.
http:// 10.245. 162.77: 8080/view/ Dashboards/ view/Amulet/ job/charm_ amulet_ test/4993/ 10.245. 162.77: 8080/view/ Dashboards/ view/Amulet/ job/charm_ amulet_ test/4994/ 10.245. 162.77: 8080/view/ Dashboards/ view/Amulet/ job/charm_ amulet_ test/4995/ 10.245. 162.77: 8080/view/ Dashboards/ view/Amulet/ job/charm_ amulet_ test/4996/ 10.245. 162.77: 8080/view/ Dashboards/ view/Amulet/ job/charm_ amulet_ test/4997/
http://
http://
http://
http://