Change-Id: I793d57c50e0742eba80dc1107f158458a19f8663
Signed-off-by: Tomas Markovic <tomas.markovic@pantheon.tech>
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
- ${count} = BuiltIn.Evaluate ${response.text}["data-change-counter"]["counter"][0]["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
Verify_Data_Change_Counter_Ready
[Documentation] Data change counter might have been slower to start than ipv4 topology, wait for it.
- BuiltIn.Wait_Until_Keyword_Succeeds 5s 1s ChangeCounter.Get_Change_Count
+ BuiltIn.Wait_Until_Keyword_Succeeds 5x 1s ChangeCounter.Get_Change_Count
Start_Talking_BGP_Speaker
[Documentation] Start Python speaker to connect to ODL.