/
githubmirror
/
lazygit
Обзор
Документация
Войти
/
githubmirror
/
lazygit
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/gui/test_timeout_race.go
10 строк
427 B
Stefan Haller
Scale the integration test watchdog up under the race detector
20 июл 2026, 15:26
20 июл 2026, 15:26
7fce58b
Код
Авторство
О чём код?
//go:build race package gui // The race detector makes everything run several times slower, so the // recording watchdog needs a correspondingly longer timeout; otherwise it // fires on tests that are merely slow under -race rather than actually stuck. // The `race` build tag is set automatically when the binary is built with // -race, so this can't drift out of sync with the actual build. const testTimeoutMultiplier = 4