Skip to content

Commit db344bd

Browse files
github-managerclaude
andcommitted
fix: remove --publish to prevent hanging TLS connection to Cucumber cloud
The --publish flag was uploading test results to reports.cucumber.io via a TLS connection to Cloudflare R2, which kept the process alive after tests completed. Reports are already saved locally as HTML and JSON. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ffb56e5 commit db344bd

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

cucumber.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const config = [
1111
'--format @cucumber/pretty-formatter',
1212
'--format html:.test-reports/integration/report.html',
1313
'--format json:.test-reports/integration/report.json',
14-
'--publish',
1514
].join(' ')
1615

1716
module.exports = {

test/integration/features/shared.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,6 @@ AfterAll({ timeout: 30000 }, async function() {
6060
resolve()
6161
})
6262
})
63-
setTimeout(() => {
64-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
65-
const handles = (process as any)._getActiveHandles()
66-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
67-
const requests = (process as any)._getActiveRequests()
68-
console.error('[afterall] open handles:', handles.map((h: any) => ({
69-
type: h?.constructor?.name,
70-
remoteAddress: h?.remoteAddress,
71-
remotePort: h?.remotePort,
72-
localPort: h?.localPort,
73-
servername: h?.servername,
74-
})))
75-
console.error('[afterall] open requests:', requests.map((r: any) => r?.constructor?.name))
76-
process.exit(0)
77-
}, 2000).unref()
7863
})
7964

8065
Before(function () {

0 commit comments

Comments
 (0)