fix(tia): report a git timeout like any other git failure (#2069)

* fix(tia): report a git timeout like any other git failure

* fix(tia): raise a git timeout so no git helper reads it as an answer

* test(tia): cover a slow git check-ignore and stop probing git after a timeout

---------

Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
Jhon Farias
2026-11-30 14:08:29 +01:00
committed by GitHub
parent b5851d67ff
commit 8c635c5ba0
8 changed files with 188 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ test('parallel', function () use ($run): void {
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$profileOutput = $run('tests/Fixtures/Suites/SuccessOnly.php', '--profile');
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 36 skipped, 1976 passed (4114 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 36 skipped, 1980 passed (4122 assertions)';
expect($output)
->toContain("Tests: {$expected}")