Skip to content

Commit

Permalink
fix(jobs): bump the timeout and retry 2 times (#4855)
Browse files Browse the repository at this point in the history
fixes #4827

Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
  • Loading branch information
Takashi Matsuo and leahecole authored Oct 16, 2020
1 parent fe26b3c commit dfd1586
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/v3/api_client/email_alert_search_sample_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ def retry_delay():
yield 10


@pytest.mark.flaky(max_runs=2, min_passes=1)
def test_email_alert_search_sample(company_name, capsys):

@backoff.on_exception(retry_delay, AssertionError, max_time=420)
@backoff.on_exception(retry_delay, AssertionError, max_time=600)
def eventually_consistent_test():
email_alert_search_sample.run_sample(company_name)
out, _ = capsys.readouterr()
Expand Down

0 comments on commit dfd1586

Please sign in to comment.