Skip to content

TESTING.md refers to non-existant method setChannelProvider for PubSub #2378

@monofuel

Description

@monofuel

TESTING.md refers to a method that no longer exists in 0.22.0-beta.

The example for creating a pubsub topic admin client:

TopicAdminClient topicClient = TopicAdminClient.create(
    TopicAdminSettings
      .defaultBuilder()
      .setChannelProvider(channelProvider)
      .setCredentialsProvider(credentialsProvider)
      .build());

uses .setChannelProvider(), which no longer exists. It's not clear what the new approach for testing is.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.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