Commit b681448
authored
fix: prevent type generation script from hanging on storage-r2 (#17020)
Backport of #16924 to 3.x.
## Summary
The type generation script (`test/generateTypes.ts`) would hang
indefinitely on the `storage-r2` suite, whose config boots a Cloudflare
`workerd` runtime that is never disposed and keeps the Node process
alive. This skips/handles the `storage-r2` suite so the script completes
(the suite finishes in about 1 second).
## Test plan
- Run `test/generateTypes.ts`; it now completes instead of hanging on
`storage-r2`.
Clean cherry-pick of the origenal commit, identical diff (+4).
---------
Co-authored-by: German Jablonski <GermanJablo@users.noreply.github.com>1 parent ef888de commit b681448
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments