playwright/tests/config
Andrey Lushnikov 1962b5be3c
test: make sure process killing logic works without ps on Linux (#22366)
The bare-bones `debian` distribution we use for testing doesn't have
`ps`. This patch switches to reading `/proc` file system directly on
Linux instead of relying on `ps`.

Performance measurements for the 20000 active processes on Debian Docker
container, tested on my M1 Max Mac:
- the `ps -eo pid,ppid,pgid` call + parsing takes 293ms
- the manual synchronous `/proc` traversal + parsing takes 326ms

So this is ~10% perf penalty.

Drive-by: rename `pgid` into `pgrp` so that it stands out from `pid`
(process ID) and `ppid` (parent process ID).
2023-04-12 13:16:42 -07:00
..
baseTest.ts chore: allow ts decorators (#22080) 2023-03-29 20:43:08 -07:00
browserTest.ts feat(firefox-beta): roll to r1377 (#20516) 2023-02-02 07:14:18 -08:00
checkCoverage.js feat(download): introduce Download.cancel (#7462) 2021-07-06 09:38:50 +02:00
commonFixtures.ts test: make sure process killing logic works without ps on Linux (#22366) 2023-04-12 13:16:42 -07:00
comparator.ts chore: mark comparator option back as experimental (#20816) 2023-02-13 11:11:44 -08:00
coverage.js chore: sort out base fixtures (#9809) 2021-10-27 08:28:53 -07:00
coverageFixtures.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
debugControllerBackend.ts chore: report paused signal to the debug controller clients (#18701) 2022-11-10 12:15:29 -08:00
platformFixtures.ts chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
proxy.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
queryObjects.ts chore: upgrade internal types to support TypeScript 4.9.3 (#19280) 2022-12-05 17:22:25 -08:00
remote-server-impl.js fix(socks): cleanup event listeners upon disconnect (#19671) 2022-12-22 17:15:51 -08:00
remoteServer.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
serverFixtures.ts test: fix WebKit socks proxy tests (#19035) 2022-11-23 13:03:38 -10:00
testMode.ts chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
testModeFixtures.ts chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
traceViewerFixtures.ts chore: allow ts decorators (#22080) 2023-03-29 20:43:08 -07:00
utils.ts chore: split trace events into phases (#21696) 2023-03-15 22:33:40 -07:00