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

feat(node-http-handler): update timeout code and tests #1691

Merged
merged 2 commits into from
Nov 18, 2020

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Nov 17, 2020

Issue #, if available:
Debugged while going through #1196

Description of changes:
This PR makes the following changes:

  • Adds tests for setConnectionTimeout.
  • Removes references to this.
  • Converts functions to arrow functions.
  • Updates deprecated .abort() to .destroy().
  • Uses Object.assign during error creation to avoid using additional variable.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@alexforsyth alexforsyth left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@alexforsyth alexforsyth left a comment

Choose a reason for hiding this comment

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

LGTM +1

@trivikr trivikr merged commit 9e58bbb into aws:master Nov 18, 2020
@trivikr trivikr deleted the update-timeout-tests branch November 18, 2020 17:18
@github-actions
Copy link

github-actions bot commented Jan 9, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants