googleapis / googleapis/google-cloud-cpp

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

Aperta
#13,763 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
api: pubsub cpp: operator samples type: cleanup
Lingua principale
C++
Stelle
659
Fork
462
Merge medio
1g 2h
PR unite (30g)
89

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.