Skip to content

Adjust unit tests to account for the new connection timeout parameter #10088

Closed

Description

@plamut

The google-cloud-core release v1.1.0 introduced a new optional timeout parameter to the JSONConnection object.

The timeout is passed down to the transport layer, which breaks several assertions in unit tests across different libraries, thus the assertions need to be adjusted.

Additionally, the version pins of the core dependencies need to be bumped in order to assure that core connections that support timeouts are always used.

Update:
Looking at #10094, security center, spanner, and storage fail for other reasons, thus their respective labels are not applied.

Activity

  1. added
    type: bug
    priority: p1
    on Jan 10, 2020
  2. self-assigned this
    on Jan 10, 2020
  3. added
    api: logging
    api: cloudresourcemanager
    api: translation
    api: dns
    api: runtimeconfig
    on Jan 10, 2020
  4. added
    🚨
    and removed
    🚨
    on Jan 15, 2020
  5. plamut commented on Jan 16, 2020

    @plamut
    ContributorAuthor

    The most recent test suite run in #10094 showed that the previously failing tests of the libraries in question now pass after all the fixes. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: cloudresourcemanagerapi: dnsapi: loggingapi: runtimeconfigapi: translationpriority: p1type: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions