Write exceptions to file
[integration/test.git] / csit / libraries / KarafKeywords.robot
index cece9c4490cc4594dbf90cc6d6f55239e0549004..749470b7d8b68ed6b93cd30ae622405d5f1b66f1 100644 (file)
@@ -247,6 +247,7 @@ Fail If Exceptions Found During Test
     \    ${cmd} =    Set Variable    sed '1,/ROBOT MESSAGE: Starting test ${test_name}/d' ${log_file}
     \    ${output} =    Get Karaf Log Lines From Test Start    ${ODL_SYSTEM_${i}_IP}    ${test_name}    ${cmd}
     \    ${exlist} =    Get and Verify Exceptions    ${output}
+    \    Write Exceptions Map To File    ${SUITE_NAME}.${TEST_NAME}    /tmp/odl${i}_exceptions.txt
     \    ${listlength} =    BuiltIn.Get Length    ${exlist}
     \    BuiltIn.Run Keyword If    ${listlength} != 0    BuiltIn.Fail    New exceptions found: ${listlength}