Skip to content

Commit 775cd6f

Browse files
authored
mark some more tests as flaky (#9276)
* mark some more tests as flaky * fix lint (oops, sorry!)
1 parent 7f491f2 commit 775cd6f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

jobs/v3/api_client/commute_search_sample_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def company_name():
2828
commute_search_sample.tear_down(company_name, job_name)
2929

3030

31+
@pytest.mark.flaky(max_runs=2, min_passes=1)
3132
def test_commute_search_sample(company_name, capsys):
3233
@backoff.on_exception(backoff.expo, (AssertionError, HttpError), max_time=240)
3334
def eventually_consistent_test():

jobs/v3/api_client/featured_job_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
featured_job_search_sample.tear_down(company_name, job_name)
2727

2828

29+
@pytest.mark.flaky(max_runs=2, min_passes=1)
2930
def test_featured_job_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)