SXP-131: Robot reports negative periods of time 85/73185/4
authorIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 19 Jun 2018 12:56:20 +0000 (14:56 +0200)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 19 Jun 2018 16:05:22 +0000 (16:05 +0000)
- improve logging
- get number of exported bindings after
all bindings are successfully exported

Change-Id: Ia7babb656acf3159caf92d96b7f9177ebe3b5cf0
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
csit/suites/sxp/performance/020_BindingExportTests.robot

index a49beb71ca17f2286b0d820f5208b204e0c3b601..2d35832e7ecaa5620fe9cd3b6cd505135635cf92 100644 (file)
@@ -157,6 +157,7 @@ Simple Export
     \    ${ELEMENT}    Wait Until Keyword Succeeds    120    1    Check Bindings Exported
     \    Append To List    ${ITEMS}    ${ELEMENT}
     \    Test Clean
+    Log    ${ITEMS}
     ${export_speed}    Get Average Of Items    ${ITEMS}
     [Return]    ${export_speed}
 
@@ -171,17 +172,20 @@ Forwarding Export
     \    ${ELEMENT}    Wait Until Keyword Succeeds    360    1    Check Bindings Exported
     \    Append To List    ${ITEMS}    ${ELEMENT}
     \    Test Clean
+    Log    ${ITEMS}
     ${export_speed}    Get Average Of Items    ${ITEMS}
     [Return]    ${export_speed}
 
 Check Bindings Exported
     [Documentation]    Checking if bindings were exported and return export speed
     ${all_exported}    ExportLibrary.All Exported
+    Should Be True    ${all_exported}
     ${bindings_exported}    ExportLibrary.Get Bindings Exchange Count
     Log    ${bindings_exported}
-    Should Be True    ${all_exported}
     ${export_time}    ExportLibrary.Get Export Time
+    Log    ${export_time}
     ${export_speed}    Evaluate    ${bindings_exported}/${export_time}
+    Log    ${export_speed}
     [Return]    ${export_speed}
 
 Setup Filter