googleapis / googleapis/google-cloud-cpp
Pub/Sub: Remove `PleaseIgnoreThisSimplifiesTestingTheSamples` from streaming pull samples
Open
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
Assessment
This issue has not been assessed yet.