[
https://issues.apache.org/jira/browse/BEAM-10761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203381#comment-17203381
]
Beam JIRA Bot commented on BEAM-10761:
--------------------------------------
This issue was marked "stale-assigned" and has not received a public comment in
7 days. It is now automatically unassigned. If you are still working on it, you
can assign it to yourself again. Please also give an update about the status of
the work.
> Add TestPubsub.waitForSubscription
> ----------------------------------
>
> Key: BEAM-10761
> URL: https://issues.apache.org/jira/browse/BEAM-10761
> Project: Beam
> Issue Type: Improvement
> Components: io-java-gcp, testing
> Reporter: Brian Hulette
> Priority: P2
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We have several tests that rely on TestPubsubSignal.signalStart as an
> imperfect signal that a pipeline has created a subscription to a PubSub
> topic, and it is safe for us to start injecting data. This has the potential
> to be flaky.
> We should instead poll pubsub until we can observe a subscription was
> created. This can be implemented via a method TestPubsub.waitForSubscription
--
This message was sent by Atlassian Jira
(v8.3.4#803005)