playwright/tests
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
..
android chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
assets chore: remove Selenium jar files from repo (#21939) 2023-03-23 22:00:30 +01:00
components test(ct): react17 coverage (#22297) 2023-04-09 15:11:31 -07:00
config test: make sure process killing logic works without ps on Linux (#22366) 2023-04-12 13:16:42 -07:00
electron fix(electron): do not use loader for packaged apps (#21577) 2023-03-13 12:52:52 -07:00
image_tools chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
installation test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
library test: refer to the upstream Firefox bug (#22364) 2023-04-12 10:37:21 -07:00
page feat(firefox): roll to r1396 (#22327) 2023-04-11 08:49:44 -07:00
playwright-test test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
stress chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
webview2 test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: enable tsc for ttest sources (#21018) 2023-02-19 11:18:07 -08:00