X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FChangeCounter.robot;h=f2a0b349644eb24e5e871ad04f51c66053cdd404;hb=117693f7428bb2797b33c53c784ea25333d62bb3;hp=d58ce1fc5c72ad2e4315402f48bd11146a7518ed;hpb=97b82df2a8571d0d125232058c798fe340bb07c9;p=integration%2Ftest.git diff --git a/csit/libraries/ChangeCounter.robot b/csit/libraries/ChangeCounter.robot index d58ce1fc5c..f2a0b34964 100644 --- a/csit/libraries/ChangeCounter.robot +++ b/csit/libraries/ChangeCounter.robot @@ -35,9 +35,8 @@ Get_Change_Count BuiltIn.Should_Be_Equal ${response.status_code} ${200} Got status: ${response.status_code} and message: ${response.text} # CompareStream.Set_Variable_If_At_Least_Else cannot be used direcly, because ${response.text}["data-change-counter"]["count"] would be # evaluated before the stream comparison and it causes failures - ${at_least_boron}= CompareStream.Set_Variable_If_At_Least_Boron ${True} ${False} - ${count} = BuiltIn.Run Keyword If ${at_least_boron} BuiltIn.Evaluate ${response.text}["data-change-counter"]["counter"][0]["count"] - ... ELSE BuiltIn.Evaluate ${response.text}["data-change-counter"]["count"] + BuiltIn.Log ${response.text} + ${count} = BuiltIn.Evaluate json.loads('${response.text}')["data-change-counter"]["counter"][0]["count"] modules=json [Return] ${count} Reconfigure_Topology_Name