Don't overwrite purchase_cars.log file 77/74177/4
authorVishal Thapar <vthapar@redhat.com>
Wed, 18 Jul 2018 06:38:59 +0000 (12:08 +0530)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 24 Jul 2018 17:53:13 +0000 (17:53 +0000)
JIRA: CONTROLLER-1851
Change-Id: Ia1560b8bdbde0b712723cb5779d2476ee26e5612
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot

index aa8a9418235df0036277be44d6a50294fec32e14..ee54db2017d059e3e16574c83efe45f50440a359 100644 (file)
@@ -78,7 +78,8 @@ Purchase Cars
 Verify Purchases
     [Documentation]    Store logs and verify result
     Stop Tool
-    Store File To Workspace    cluster_rest_script.log    cluster_rest_script_purchase_cars.log
+    ${target_file}=    Utils.Get_Log_File_Name    cluster_rest_script.log
+    Store File To Workspace    cluster_rest_script.log    ${target_file}
     Wait Until Keyword Succeeds    ${PROCEDURE_TIMEOUT}    1    Purchase Is Completed    ${ITEM_COUNT}
 
 Delete Cars