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
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
coverageFixtures.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
debugControllerBackend.ts
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
remote-server-impl.js
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