test: fix flaky test-http2-create-client-connect · nodejs/node@ab87282 · GitHub
Skip to content

Commit ab87282

Browse files
davidbenMylesBorins
authored andcommitted
test: fix flaky test-http2-create-client-connect
The first group of tests makes one more connection and leave the server alive for longer. Otherwise the test is just catching that the server has closed the socket, depending on timing. This does not quite make the test pass yet, however. There are some quirks with how the http2 code handles errors which actually affect 1.0.2 as well. PR-URL: #16130 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent 2b25ad1 commit ab87282

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

test/parallel/test-http2-create-client-connect.js

Lines changed: 8 additions & 9 deletions

0 commit comments

Comments
 (0)