googleapis / googleapis/google-cloud-node

Service request timeout is overwritten at call time

Open
#7,830 0 comments 0 reactions 0 assignees View on GitHub
api: common priority: p2 type: bug
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

Ref: https://github.com/urjitbhatia/nodejs-common/pull/1

1) Is this a client library issue or a product issue?
a library issue

2) Did someone already solve this?
no

3) Do you have a support contract?
no

If the support paths suggested above still do not result in a resolution, please provide the following details.

#### Environment details

- OS: Ubuntu
- Node.js version: 18
- npm version: (Yarn 1.22.4)
- `@google-cloud/common` version: v4.0.3

#### Steps to reproduce

Note: This surfaces while using the google translate client: https://github.com/googleapis/google-cloud-node-core/issues/256

1. Create a translate client.
2. Set a request timeout
3. Point request to a dummy server that takes long or set a really small timeout to test
4. Request continues beyond the timeout and doesn't abort

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.