Commit 1d23791
committed
chore: align test_docker container launch with playwright-browsers
Mirrors the docker run flags used by microsoft/playwright-browsers'
tests-docker.yml so the Java and Node test environments stay in sync.
- run as pwuser (--user=pwuser --workdir /home/pwuser) instead of root
- explicit --platform linux/<arch>
- drop --ipc=host; set --shm-size=2g instead
- deliver the repo via docker cp + chown rather than a bind mount,
and move the image-baked /root/.m2 into pwuser's home so the
locally-installed SNAPSHOT artifacts resolve
- paths /root/playwright -> /home/pwuser/playwright
This is expected to fix the probabilistic chrome-headless-shell
SIGSEGV crashes observed on jammy in CI.1 parent d84a2db commit 1d23791
1 file changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | | - | |
36 | | - | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
40 | 54 | | |
41 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
42 | 67 | | |
43 | 68 | | |
44 | | - | |
| 69 | + | |
45 | 70 | | |
46 | 71 | | |
47 | 72 | | |
48 | | - | |
| 73 | + | |
49 | 74 | | |
50 | 75 | | |
51 | 76 | | |
| |||
0 commit comments