X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FClusterKeywords.robot;h=72862959e0149c7ea982ecf945392a012eca03af;hb=f1bc1076ba43627c2a5f7fe789fba550b190c130;hp=82b39418b1e673182fd8e7eda250f2dc92359b29;hpb=502b2f80d1b9e30f39e9ad9d5dfcb6ad6811300e;p=integration%2Ftest.git diff --git a/csit/libraries/ClusterKeywords.robot b/csit/libraries/ClusterKeywords.robot index 82b39418b1..72862959e0 100644 --- a/csit/libraries/ClusterKeywords.robot +++ b/csit/libraries/ClusterKeywords.robot @@ -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}