Skip to content

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

@plamut

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.

Metadata

Metadata

Assignees

Labels

api: cloudresourcemanagerIssues related to the Resource Manager API.api: dnsIssues related to the Cloud DNS API.api: loggingIssues related to the Cloud Logging API.api: runtimeconfigIssues related to the Cloud Runtime Config API API.api: translationIssues related to the Cloud Translation API API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to 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