Skip to content

Commit c9b204e

Browse files
samples: mark test flaky (#322)
1 parent b2eeb16 commit c9b204e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/google-cloud-pubsub/samples/snippets/subscriber_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def run_sample():
257257
assert "With delivery attempts: " in out
258258

259259

260+
@flaky(max_runs=3, min_passes=1)
260261
def test_update_dead_letter_policy(subscription_dlq, dead_letter_topic, capsys):
261262
_ = subscriber.update_subscription_with_dead_letter_policy(
262263
PROJECT_ID,

0 commit comments

Comments
 (0)