• Oran Agra's avatar
    Improve testsuite print of log file (#8805) · f4b5a4d8
    Oran Agra authored
    1. the `dump_logs` option would have printed only logs of servers that were
       spawn before the test proc started, and not ones that the test proc
       started inside it.
    2. when a server proc catches an exception it should normally forward the
       exception upwards, specifically when it's an assertion that should be
       caught by a test proc above. however, in `durable` mode, we caught all
       exceptions printed them to stdout and let the code continue,
       this was wrong to do for assertions, which should have still been
       propagated to the test function.
    3. don't bother to search for crash log to print if we printed the the
       entire log anyway
    4. if no crash log was found, no need to print anything (i.e. the fact it
       wasn't found)
    5. rename warnings_from_file to crashlog_from_file
    f4b5a4d8
server.tcl 20 KB