Skip to content

Commit 05c595f

Browse files
authored
Plug leaky sink in systests. (googleapis#5247)
Fixes googleapis#5242.
1 parent c71967c commit 05c595f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

logging/tests/system/test_system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ def test_create_sink_pubsub_topic(self):
427427
sink = Config.CLIENT.sink(SINK_NAME, DEFAULT_FILTER, TOPIC_URI)
428428
self.assertFalse(sink.exists())
429429
sink.create()
430+
self.to_delete.append(sink)
430431
self.assertTrue(sink.exists())
431432

432433
def _init_bigquery_dataset(self):

0 commit comments

Comments
 (0)