[
https://issues.apache.org/jira/browse/BEAM-10716?focusedWorklogId=487260&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-487260
]
ASF GitHub Bot logged work on BEAM-10716:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Sep/20 20:52
Start Date: 21/Sep/20 20:52
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on a change in pull request
#12830:
URL: https://github.com/apache/beam/pull/12830#discussion_r492339081
##########
File path:
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/TestPubsubSignal.java
##########
@@ -239,6 +245,12 @@ public void waitForSuccess(Duration duration) throws
IOException {
String result = pollForResultForDuration(resultSubscriptionPath, duration);
+ try {
+ pubsub.deleteSubscription(resultSubscriptionPath);
+ } catch (IOException e) {
+ LOG.warn(String.format("Leaked PubSub subscription '%s'",
resultSubscriptionPath));
Review comment:
Good idea, done
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 487260)
Time Spent: 1h 50m (was: 1h 40m)
> PubSub related tests create orphaned subscriptions
> --------------------------------------------------
>
> Key: BEAM-10716
> URL: https://issues.apache.org/jira/browse/BEAM-10716
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Robin Qiu
> Assignee: Brian Hulette
> Priority: P2
> Labels: currently-failing
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Example:
> [https://ci-beam.apache.org/job/beam_PostCommit_Python37/2729/#showFailuresLink]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)