Skip to content

Commit 6e1547d

Browse files
github-managerclaude
andcommitted
fix: add --force-exit to cucumber to handle unclosed handles after tests
The slidingWindowRateLimiterFactory creates a RedisAdapter singleton that calls client.connect() on first WebSocket connection and has no teardown path. --force-exit ensures the process exits cleanly after tests complete rather than hanging on the open Redis socket. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 170517b commit 6e1547d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cucumber.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const base = [
44
'--require test/integration/features/**/*.ts',
55
'--require test/integration/features/*.ts',
66
'--publish-quiet',
7+
'--force-exit',
78
].join(' ')
89

910
const config = [

0 commit comments

Comments
 (0)