Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 10:28:34 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Adjusting the timeout for the cleanup phase of an ATF test
Message-ID:  <CAOtMX2i2rOtpvj1KyUtx6FEDGTdRyO-N%2BQu6ZigVC1z4eOysBQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i2rOtpvj1KyUtx6FEDGTdRyO-N%2BQu6ZigVC1z4eOysBQ>