Skip to content

Commit

Permalink
Fix: Fix resource not found error for flaky test. (#951)
Browse files Browse the repository at this point in the history
* Fix resource not found error for flaky test

---------

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
liuyunnnn and parthea committed Jul 17, 2023
1 parent 26d2b39 commit d42ace7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ def cleanup():

# Perform all clean up.
for to_call, args, kwargs in registry:
to_call(*args, **kwargs)
try:
to_call(*args, **kwargs)
except core_exceptions.NotFound:
pass


def test_publish_messages(publisher, topic_path_base, cleanup):
Expand Down

0 comments on commit d42ace7

Please sign in to comment.