OVSDB bridge create test case now using UUID
[integration/test.git] / csit / libraries / ClusterKeywords.robot
index 82b39418b1e673182fd8e7eda250f2dc92359b29..72862959e0149c7ea982ecf945392a012eca03af 100644 (file)
@@ -96,7 +96,8 @@ Put And Check At URI In Cluster
     ...    and check the data is replicated in all instances in ${controller_index_list}.
     ${expected_body}=    Hsf Json    ${body}
     ${resp}    RequestsLibrary.Put Request    controller${controller_index}    ${uri}    ${body}    ${headers}
-    Should Be Equal As Strings    ${resp.status_code}    200
+    ${status_code}=    Convert To String    ${resp.status_code}
+    Should Match Regexp    ${status_code}    20(0|1)
     : FOR    ${i}    IN    @{controller_index_list}
     \    ${data}    Wait Until Keyword Succeeds    5s    1s    Get Data From URI    controller${i}
     \    ...    ${uri}    ${headers}