test: fix flaky test-inspector · nodejs/node@1296a68 · GitHub
Skip to content

Commit 1296a68

Browse files
Trottaddaleax
authored andcommitted
test: fix flaky test-inspector
Using `socket.destroy()` instead of `socket.end()` fixes more-than-intermittent ECONNRESET issues on Windows. PR-URL: #9727 Fixes: #8804 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
1 parent c5e806c commit 1296a68

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

test/inspector/inspector-helper.js

Lines changed: 1 addition & 1 deletion

test/inspector/inspector.status

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)