Bug 1822728 - Increase the child process shutdown timeout for Unix ccov builds. r=ipc-reviewers,nika

Differential Revision: https://phabricator.services.mozilla.com/D172752
This commit is contained in:
Jed Davis 2023-03-20 20:32:31 +00:00
parent 2d37b0d4b4
commit 881a15b0e6

View File

@ -25,7 +25,11 @@ static constexpr int kMaxWaitMs = 2000;
// This is also somewhat arbitrary, but loosely based on Try results.
// See also toolkit.asyncshutdown.crash_timeout (currently 60s) after
// which the parent process will be killed.
#if defined(MOZ_ASAN) || defined(MOZ_TSAN)
#ifdef MOZ_CODE_COVERAGE
// Code coverage instrumentation can be slow (especially when writing
// out data, which has to take a lock on the data files).
static constexpr int kShutdownWaitMs = 80000;
#elif defined(MOZ_ASAN) || defined(MOZ_TSAN)
// Sanitizers slow things down in some cases; see bug 1806224.
static constexpr int kShutdownWaitMs = 40000;
#else