Skip to content
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: update var to let/const and replace arbitrary timeout. #10064

Closed
wants to merge 1 commit into from

Conversation

cByst
Copy link
Contributor

@cByst cByst commented Dec 1, 2016

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

Test

Description of change

Updated variable declarations to const/let where possible.
Removed arbitrary timeout and replaced it with setImmediate()

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if the CI is happy.

@julianduque julianduque added code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. tls Issues and PRs related to the tls subsystem. labels Dec 1, 2016
@addaleax
Copy link
Member

addaleax commented Dec 2, 2016

Copy link
Member

@gibfahn gibfahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix your commit message so that it complies with the contributing guidelines?

I suggest something like:

test: update test-tls-destroy-whilst-write

Update var to let/const and replace arbitrary timeout

If you amend your commit and push to your branch it will update the pull request.

git checkout test-tls-destroy-whilst-write
git commit --amend
git push --force-with-lease origin test-tls-destroy-whilst-write

Otherwise LGTM

Update var to let/const and replace arbitrary timeout
@cByst cByst force-pushed the test-tls-destroy-whilst-write branch from 2ce6510 to 2dcc575 Compare December 2, 2016 23:14
@cByst
Copy link
Contributor Author

cByst commented Dec 2, 2016

Updated the commit message to your suggestion. Lemme know if that looks good. Thanks!
@gibfahn

Trott pushed a commit to Trott/io.js that referenced this pull request Dec 5, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: nodejs#10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@Trott
Copy link
Member

Trott commented Dec 5, 2016

Landed in 5e5ec12.
Thanks for the contribution! 🎉

@Trott Trott closed this Dec 5, 2016
Fishrock123 pushed a commit that referenced this pull request Dec 5, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: #10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@Fishrock123 Fishrock123 mentioned this pull request Dec 5, 2016
2 tasks
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: nodejs#10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
jmdarling pushed a commit to jmdarling/node that referenced this pull request Dec 8, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: nodejs#10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: #10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: #10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
Update var to let/const and replace arbitrary timeout.

PR-URL: #10064
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This was referenced Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants