Adjusting the timeout for the cleanup phase of an ATF test

Alan Somers asomers at freebsd.org
Wed Feb 14 17:28:37 UTC 2018


How does one increase the timeout for the cleanup phase of an ATF test?
The "cleanup" variable seems to affect only the test's body, not its
cleanup.  AFAICT the cleanup phase has a hardcoded 60s timeout.  However, I
have a test that legitimately takes about 65s to cleanup.  ATF is killing
it while the cleanup is still incomplete, and it leaves turds behind.  Is
there anyway to increase that limit?  If not, I'll have to move part of the
cleanup into the test body, which is ugly.

-Alan


More information about the freebsd-testing mailing list