Skip to content

Commit ee67715

Browse files
carderneTrigger.dev RepoOps
authored andcommitted
fix(testcontainers): upgrade tinyexec to fix shared Postgres warm-up hang
Fix a flaky hang when warming the shared test Postgres. tinyexec 0.3.0 read a child process stdout and stderr one after the other, so `prisma migrate diff` (about 131KB of SQL) could fill the stdout pipe and block forever. @internal/testcontainers now uses tinyexec 1.x, which reads both at once. Mono-RevId: bce098f0ede64bd69223965c84df3476f2bad2f0
1 parent e7e8589 commit ee67715

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

‎internal-packages/testcontainers/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@types/pg": "8.11.14",
2727
"std-env": "^3.9.0",
2828
"testcontainers": "^11.14.0",
29-
"tinyexec": "^0.3.0"
29+
"tinyexec": "^1.2.4"
3030
},
3131
"scripts": {
3232
"typecheck": "tsc --noEmit",

‎pnpm-lock.yaml‎

Lines changed: 3 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)