ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
BSD 3-Clause "New" or "Revised" License
7
stars
5
forks
source link
try/except sleep unlink out/err files in tests.py #57
Liu, Ben
Another feature request. On Windows systems, the deletion of the out/err files can sometimes fail because the file has not been finalized yet. Previously we added a try/except on the unlink to get around this (this is at the end of tests.py).
Would it be possible to sleep(1) and try again, then only give the log message if that also failed?
Liu, Ben Another feature request. On Windows systems, the deletion of the out/err files can sometimes fail because the file has not been finalized yet. Previously we added a try/except on the unlink to get around this (this is at the end of tests.py).