Skip to content

Commit

Permalink
fix: Cleanup CPS source subscription in tearDown() (#165)
Browse files Browse the repository at this point in the history
Cleans up CPS source subscription which was earlier missed
  • Loading branch information
samarthsingal committed Oct 25, 2022
1 parent 8fa6911 commit 73d5dcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/it/StandaloneIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ public Void apply(Runnable runnable) {
() -> {
subscriptionAdminClient.deleteSubscription(cpsSinkSubscriptionName);
});
notFoundIgnoredClosureRunner.apply(
() -> {
subscriptionAdminClient.deleteSubscription(cpsSourceSubscriptionName);
});
log.atInfo().log("Deleted CPS subscriptions.");
}

Expand Down

0 comments on commit 73d5dcb

Please sign in to comment.