Skip to content

Commit c2063b8

Browse files
dinagravesTakashi Matsuo
andauthored
Adding max runs to flaky test (GoogleCloudPlatform#5581)
Co-authored-by: Takashi Matsuo <[email protected]>
1 parent 1e25e82 commit c2063b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jobs/v3/api_client/location_search_sample_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def company_name():
2626
location_search_sample.tear_down(company_name, job_name, job_name2)
2727

2828

29+
@pytest.mark.flaky(max_runs=2, min_passes=1)
2930
def test_location_search_sample(company_name, capsys):
3031
@backoff.on_exception(backoff.expo, AssertionError, max_time=120)
3132
def eventually_consistent_test():

0 commit comments

Comments
 (0)