From 5bf0e2da57adb05dc4b62dfc71acb4bee9ecd7ad Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 3 Mar 2017 17:02:45 -0500 Subject: 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 --- robot/resources/heatbridge.robot | 4 ++-- 1 file 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} -- cgit 1.2.3-korg