Skip to content

Service request timeout is overwritten at call time #772

@urjitbhatia

Description

@urjitbhatia

Ref: urjitbhatia#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: googleapis/gax-nodejs#1410

  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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions