${starttime} is a local variable, so we need to pass it to "Save Setup Time"
[integration/test.git] / test / csit / suites / openflowplugin / Performance_Flow_Config / 080_Rpc_100k_Flows_Configuration_Time_Measure.robot
index a4621c0c4567a4a609c9382559b44c6cf1969ba3..51be2416b9aecdf828e0243f10504185fd431322 100644 (file)
@@ -41,7 +41,7 @@ Configure Flows
     ${http200ok}=    Create List    ${200}
     ${validation}=    Validate Responses    ${res}    ${http200ok}
     Should Be True    ${validation}
-    [Teardown]    Save Setup Time
+    [Teardown]    Save Setup Time    ${starttime}
 
 Wait Stats Collected
     [Documentation]    Waits till ${flnr} flows are initially collected
@@ -112,6 +112,7 @@ Check Flows Inventory
     Should Be Equal As Numbers    ${rflows}    ${foundf}
 
 Save Setup Time
+    [Arguments]    ${starttime}
     [Documentation]    Count the difference and stores it
     ${endtime}=    Get Time    epoch
     Log    Stats collection finished at time ${endtime}