summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-03-03 17:02:45 -0500
committerDR695H <dr695h@att.com>2017-03-03 17:03:16 -0500
commit5bf0e2da57adb05dc4b62dfc71acb4bee9ecd7ad (patch)
tree7864a2627d407d6b7951c3dfa1da7cea682d1518
parent29867df64dcff7f94a358de5350d471af47e0fcf (diff)
bulk add returns 201 now
before bulk add used to always return 200, not bulk add returns 201. This means that existing put doesnt work Change-Id: Ib883f6fc7dc832ba3bd73f5465c97b70669917f9 Signed-off-by: DR695H <dr695h@att.com>
-rw-r--r--robot/resources/heatbridge.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/heatbridge.robot b/robot/resources/heatbridge.robot
index 972c59de..c93692e4 100644
--- a/robot/resources/heatbridge.robot
+++ b/robot/resources/heatbridge.robot
@@ -41,8 +41,8 @@ Execute Heatbridge
Init Bridge ${openstack_identity_url} ${GLOBAL_VM_PROPERTIES['openstack_username']} ${GLOBAL_VM_PROPERTIES['openstack_password']} ${tenant_id} ${GLOBAL_OPENSTACK_SERVICE_REGION} ${GLOBAL_AAI_CLOUD_OWNER}
${request}= Bridge Data ${stack_id}
Log ${request}
- ${resp}= Run A&AI Put Request ${VERSIONED_INDEX_PATH}${MULTIPART_PATH} ${request}
- Should Be Equal As Strings ${resp.status_code} 200
+ ${resp}= Run A&AI Put Request ${VERSIONED_INDEX_PATH}${MULTIPART_PATH} ${request}
+ Should Match Regexp ${resp.status_code} ^(201|200)$
${reverse_heatbridge}= Generate Reverse Heatbridge From Stack Info ${stack_info}
Set Test Variable ${REVERSE_HEATBRIDGE} ${reverse_heatbridge}
Run Validation Query ${stack_info} ${service}