Skip to content

Commit

Permalink
retire-service - make retries and delay an optional parameter (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
itewk authored Apr 5, 2018
1 parent 206519c commit 8eaba89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Smoke tests Service template provisioning and retirment.
| cfme\_provision\_service\_dialog\_options | Yes | | Hash of dialog options to pass to the Service Template creation request
| cfme\_provision\_service\_retries | No | 60 | Number of attempts at waiting for Provision Service task to complete
| cfme\_provision\_service\_delay | No | 60 | Number of seconds between attempts at waiting for Provion Service task to complete
| cfme\_retire\_service\_retries | No | 60 | Number of attempts at waiting for Retire Service task to complete
| cfme\_retire\_service\_delay | No | 60 | Number of seconds between attempts at waiting for Retire Service task to complete

### start-services.yml
Start all of the DB services then all of the Appliance services.
Expand Down
4 changes: 2 additions & 2 deletions tasks/retire-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
register: cfme_services_status_result
with_items: "{{ cfme_service_ids }}"
until: cfme_services_status_result['json']['retired'] == true
retries: 60
delay: 60
retries: "{{ cfme_retire_service_retries | default(60) }}"
delay: "{{ cfme_retire_service_delay | default(60) }}"

0 comments on commit 8eaba89

Please sign in to comment.