-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: deflake test-tls-sni-option #27300
Conversation
Makes it happen less often, but doesn't eliminate the flake, I'll keep looking. |
006fbb1
to
a8b43f2
Compare
8e00546
to
d4315ba
Compare
@lpinca PTAL at the last commit, the "fixup". I used |
237353f
to
49accf1
Compare
@sam-github I still get failures:
|
Let .end() propogate from client, to server, and back, before considering the test complete. Also, remove the test vector and exit handling in favour of running all the tests in parallel and using common.must/mustNotCall().
49accf1
to
fc8a3d9
Compare
@lpinca OK, so the graceful end is necessary, I reverted. the tools/test.py --repeat now passes for me. PTAL |
It works on my machine. |
Landed in 6bbb9eb |
Let .end() propogate from client, to server, and back, before considering the test complete. Also, remove the test vector and exit handling in favour of running all the tests in parallel and using common.must/mustNotCall(). PR-URL: #27300 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Let .end() propogate from client, to server, and back, before considering the test complete. Also, remove the test vector and exit handling in favour of running all the tests in parallel and using common.must/mustNotCall(). PR-URL: #27300 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Refs: nodejs#27300 PR-URL: nodejs#27425 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
- Run all tests in parallel. - Move `socket.end()` call to client. - Use `common.mustCall()` and `common.mustNotCall()`. Fixes: nodejs#27219 Refs: nodejs#27300
- Run all tests in parallel. - Move `socket.end()` call to client. - Use `common.mustCall()` and `common.mustNotCall()`. Fixes: nodejs#27219 Refs: nodejs#27300 PR-URL: nodejs#27426 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Might fix #26910, though I haven't reproed the failure yet.
Basically, I pull next() out so that the testcase isn't complete until the client and server have finished. TLS1.2 and 1.3 complete on client and server in different orders, this might be an issue here.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes