Bug 1805761 - Increase the child process shutdown timeout for Windows ccov. r=ipc-reviewers,nika

Differential Revision: https://phabricator.services.mozilla.com/D164872
This commit is contained in:
Jed Davis 2022-12-17 18:21:34 +00:00
Родитель b9b5e46045
Коммит fedfb9b5e3
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -19,7 +19,14 @@ static constexpr int kWaitInterval = 2000;
// This is somewhat arbitrary, but based on Try run results. When
// changing this, be aware of toolkit.asyncshutdown.crash_timeout
// (currently 60s), after which the parent process will be killed.
#ifdef MOZ_CODE_COVERAGE
// Child processes seem to take longer to shut down on ccov builds, at
// least in the wdspec tests; ~20s has been observed, and we'll spam
// false positives unless this is increased.
static constexpr DWORD kShutdownWaitMs = 80000;
#else
static constexpr DWORD kShutdownWaitMs = 8000;
#endif
namespace {