Uh oh!
There was an error while loading. Please reload this page.
Split up internet DNS tests to avoid timeout problem - #2802
Conversation
For whatever reason, the CI win2012 machine was timing out on the internet test-dns file. Split out ipv4 and ipv6 specific tests to separate files so tests do not time out. (Each file is given a 60 second timeout on CI. Tests within a file are run in sequence.)
Trott
commented
Sep 10, 2015
Trott
commented
Sep 11, 2015
bump /cc @nodejs/collaborators |
silverwind
commented
Sep 12, 2015
Why does splitting the tests into separate files fix the timeout issue? |
Trott
commented
Sep 12, 2015
@silverwind It fixes it because the timeout that's blowing up isn't for any individual test in the file. It's the 60 second timeout for each test file imposed by the Python test runner for the file as a whole. |
silverwind
commented
Sep 12, 2015
Ah, right. LGTM if this is just copy/paste split up. |
There was a problem hiding this comment.
Future pr: export these things to common if they are re-usable.
There was a problem hiding this comment.
As far as TEST() goes, I was torn between "move this into the common.js" vs. "extract each test into its own file and get rid of TEST() entirely". So I left it alone for now.
For whatever reason, the CI win2012 machine was timing out on the internet test-dns file. Split out ipv4 and ipv6 specific tests to separate files so tests do not time out. (Each file is given a 60 second timeout on CI. Tests within a file are run in sequence.) PR-URL: #2802Fixes: #2468 Reviewed-By: Roman Reiss <me@silverwind.io>
Trott
commented
Sep 12, 2015
Landed in a787f72 |
For whatever reason, the CI win2012 machine was timing out on the internet test-dns file. Split out ipv4 and ipv6 specific tests to separate files so tests do not time out. (Each file is given a 60 second timeout on CI. Tests within a file are run in sequence.) PR-URL: #2802Fixes: #2468 Reviewed-By: Roman Reiss <me@silverwind.io>
For whatever reason, the CI win2012 machine was timing out on the internet test-dns file. Split out ipv4 and ipv6 specific tests to separate files so tests do not time out. (Each file is given a 60 second timeout on CI. Tests within a file are run in sequence.) PR-URL: #2802Fixes: #2468 Reviewed-By: Roman Reiss <me@silverwind.io>
On the CI setup, the Win2012 server times out sometimes on
test/internet/test-dns.js. This PR follows on the changes in #2785 (which will land soon) and splits that file into three files which avoids the timeout.CI doesn't (yet) run tests in
test/internetbut I altered thevcbuild.batin a branch so that it would. Results for this change are at https://ci.nodejs.org/job/node-test-commit-windows/604/.