damccorm opened a new pull request, #41122:
URL: https://github.com/apache/beam/pull/41122

   ### Summary
   In `PostCommit Python Arm` 
(https://github.com/apache/beam/actions/runs/42565021044), 
`StreamingWordCountIT.test_streaming_wordcount_it` failed during `setUp()` with 
`google.api_core.exceptions.InternalServerError: 500 A service error has 
occurred. Please retry your request. [code=e8c0]` on 
`sub_client.create_subscription`.
   
   Unlike `PubSubIntegrationTest.setUp()` 
(`sdks/python/apache_beam/io/gcp/pubsub_integration_test.py`), 
`StreamingWordCountIT.setUp()` did not wrap `create_topic` and 
`create_subscription` with `retry.with_exponential_backoff(..., 
retry_filter=retry.retry_on_server_errors_timeout_or_quota_issues_filter)`. 
Applying the same retry wrapper prevents transient Pub/Sub 5xx/504/429 errors 
from failing test setup.
   
   ### Verification
   - Triggered `PostCommit Python Arm` on branch 
`fix/streaming-wordcount-it-pubsub-retry`: 
https://github.com/apache/beam/actions/runs/42658806194
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to