Uh oh!
There was an error while loading. Please reload this page.
test: refactor test-http-dns-fail - #10243
Conversation
lance
commented
Dec 12, 2016
LGTM |
There was a problem hiding this comment.
I would suggest changing this to }, 2)); and then getting rid of hadError entirely.
EDIT: Actually after further review I think we can just get rid of hadError entirely without changing this line ...
There was a problem hiding this comment.
Would you mind reversing the conditional here to count > 1 while you're in this file? I personally find it much easier to understand when scanning code...
There was a problem hiding this comment.
I think this should be removed? I still don't know if we have an official policy on this or not ...
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions
edsadr
commented
Dec 12, 2016
@mscdex just implemented your suggestions, also removed the |
mscdex
commented
Dec 12, 2016
mscdex
commented
Dec 13, 2016
LGTM |
italoacasas
commented
Dec 14, 2016
Landed 75ac109 Thanks for the contribution. |
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions PR-URL: #10243 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Brian White <mscdex@mscdex.net>
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions PR-URL: #10243 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Brian White <mscdex@mscdex.net>
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions PR-URL: #10243 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Brian White <mscdex@mscdex.net>
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions PR-URL: #10243 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Brian White <mscdex@mscdex.net>
* remove counter used to control function execution * use commont.mustCall to control the function execution * use const and let instead of var * use arrow functions PR-URL: #10243 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Checklist
make -j4 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
test
Description of change
refactor test-http-dns-fail.js