googleapis / googleapis/google-cloud-cpp

Pub/Sub: Remove `PleaseIgnoreThisSimplifiesTestingTheSamples` from streaming pull samples

Open
#13,763 1 comment 0 reactions 0 assignees View on GitHub
api: pubsub cpp: operator samples type: cleanup
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

Several of the [Pub/Sub streaming pull samples](https://cloud.google.com/pubsub/docs/pull#c++) have a call that looks like `PleaseIgnoreThisSimplifiesTestingTheSamples()`. As I understand it, this is to help with the continuous tests on the samples. However, C++ is the only language that has this and I think it complicates the sample. We should look for a way to remove this.

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.