commit | 1c47fc97e6ab0809745eaa31c0596ae7cb308621 | [log] [tgz] |
---|---|---|
author | Jeff Peeler <jpeeler@redhat.com> | Tue Jan 28 15:50:31 2014 -0500 |
committer | Jeff Peeler <jpeeler@redhat.com> | Wed Jan 29 10:13:49 2014 -0500 |
tree | ca81be8bb060330a3d8661925014683d75c42885 | |
parent | dd33245c773068b05acbe85042aa600f1d6cecbd [diff] |
Return body output after given status reached This change allows stack output to be parsed/checked. Partial-Bug: #1269566 Partial blueprint: tempest-heat-integration Change-Id: Iff23620dbce2c834591836dfed8b68439a9804cf
diff --git a/tempest/services/orchestration/json/orchestration_client.py b/tempest/services/orchestration/json/orchestration_client.py index 20f1b06..6e89258 100644 --- a/tempest/services/orchestration/json/orchestration_client.py +++ b/tempest/services/orchestration/json/orchestration_client.py
@@ -175,7 +175,7 @@ stack_name = body['stack_name'] stack_status = body['stack_status'] if stack_status == status: - return + return body if fail_regexp.search(stack_status): raise exceptions.StackBuildErrorException( stack_identifier=stack_identifier,