Browse Source

[Test] Added check if there was no segfault during the test run

tags/1.8.0
Mikhail Galanin 5 years ago
parent
commit
4e96718ad3
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      test/functional/lib/rspamd.robot

+ 5
- 0
test/functional/lib/rspamd.robot View File

@@ -70,9 +70,14 @@ Generic Teardown
[Arguments] @{ports}
Run Keyword If '${CONTROLLER_ERRORS}' == 'True' Check Controller Errors
Shutdown Process With Children ${RSPAMD_PID}
Log do not contain segfault record
Save Run Results ${TMPDIR} rspamd.log redis.log rspamd.conf clickhouse-server.log clickhouse-server.err.log clickhouse-config.xml
Cleanup Temporary Directory ${TMPDIR}

Log do not contain segfault record
${log} = Get File ${TMPDIR}/rspamd.log
Should not contain ${log} Segmentation fault: msg=Segmentation fault detected

Log Logs
[Arguments] ${logfile} ${position}
${the_log} ${position} = Read Log From Position ${logfile} ${position}

Loading…
Cancel
Save