Skip to content

Commit 9d04274

Browse files
chore: bump test timeout
oof! We hit a timeout-related flake in this CI run[^1] ``` @api-ts/openapi-generator:test: @api-ts/openapi-generator:test: ✖ Timed out while running tests @api-ts/openapi-generator:test: @api-ts/openapi-generator:test: 14 tests were pending in test/test-corpus.ts @api-ts/openapi-generator:test: @api-ts/openapi-generator:test: ◌ should parse array types @api-ts/openapi-generator:test: ◌ should parse boolean literals @api-ts/openapi-generator:test: ◌ should parse discriminated unions @api-ts/openapi-generator:test: ◌ should simplify intersections of plain types @api-ts/openapi-generator:test: ◌ should handle multiple routes at different paths @api-ts/openapi-generator:test: ◌ should parse unions of multiple types @api-ts/openapi-generator:test: ◌ should parse explicit nulls @api-ts/openapi-generator:test: ◌ should read optional properties @api-ts/openapi-generator:test: ◌ should parse record types @api-ts/openapi-generator:test: ◌ should handle multiple routes at one path @api-ts/openapi-generator:test: ◌ should create an OpenAPI spec @api-ts/openapi-generator:test: ◌ should parse string unions @api-ts/openapi-generator:test: ◌ should handle unknown properties in responses @api-ts/openapi-generator:test: ◌ should parse version tags @api-ts/openapi-generator:test: @api-ts/openapi-generator:test: ─ @api-ts/openapi-generator:test: @api-ts/openapi-generator:test: npm ERR! Lifecycle script `test` failed with error: @api-ts/openapi-generator:test: npm ERR! Error: command failed @api-ts/openapi-generator:test: npm ERR! in workspace: @api-ts/[email protected] @api-ts/openapi-generator:test: npm ERR! at location: /home/runner/work/api-ts/api-ts/packages/openapi-generator @api-ts/openapi-generator:test: Error: command finished with error: command (packages/openapi-generator) npm run test exited (1) ``` Tests thankfully don't take close to 30 seconds locally (though they are slow -- around 10s) but in parallel CI with shared compute resources, anything goes. This commit bumps the test timeout from 30 seconds to 1 minute to avoid flakes of this sort in the future. [^1]: https://github.com/BitGo/api-ts/runs/5980525873?check_suite_focus=true
1 parent cb76bc4 commit 9d04274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openapi-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"test/": "dist/test/"
4545
}
4646
},
47-
"timeout": "30s"
47+
"timeout": "1m"
4848
},
4949
"publishConfig": {
5050
"access": "public"

0 commit comments

Comments
 (0)