From 56f1e6cdac620b6813a4cbd3260e59acbb811595 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Thu, 11 Mar 2021 09:25:43 -0800 Subject: [PATCH] samples: mark test flaky --- samples/snippets/subscriber_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/snippets/subscriber_test.py b/samples/snippets/subscriber_test.py index b9dd38ec3..b1a23cd10 100644 --- a/samples/snippets/subscriber_test.py +++ b/samples/snippets/subscriber_test.py @@ -257,6 +257,7 @@ def run_sample(): assert "With delivery attempts: " in out +@flaky(max_runs=3, min_passes=1) def test_update_dead_letter_policy(subscription_dlq, dead_letter_topic, capsys): _ = subscriber.update_subscription_with_dead_letter_policy( PROJECT_ID,