Skip to content

add optional retry delay and backoff to the autoretry function#923

Open
connor-philip wants to merge 5 commits intobehave:mainfrom
connor-philip:feature/test_retry_delay_and_backoff
Open

add optional retry delay and backoff to the autoretry function#923
connor-philip wants to merge 5 commits intobehave:mainfrom
connor-philip:feature/test_retry_delay_and_backoff

Conversation

@connor-philip
Copy link
Copy Markdown

@connor-philip connor-philip commented May 15, 2021

Description

I've made use of the patch_scenario_with_autoretry function recently to allow for Intermittent network issues however since the retries currently happen straight away, the issue would just happen N times in a row. Adding in a delay and a optional backoff helps to give some time for problems to recover.

Changes

Adding in optional parameters delay and backoff to the patch_scenario_with_autoretry function.

@connor-philip connor-philip changed the title Feature/test retry delay and backoff add optional retry delay and backoff to the autoretry function May 15, 2021
Comment thread behave/contrib/scenario_autoretry.py Outdated
Comment thread behave/contrib/scenario_autoretry.py
Comment thread features/runner.scenario_autoretry.feature Outdated
@connor-philip connor-philip requested a review from bittner July 14, 2021 18:41
Copy link
Copy Markdown
Member

@bittner bittner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jenisys Please take a look at this PR. Seems like an improvement worth merging.

Copy link
Copy Markdown

@enrico-semrau enrico-semrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@jenisys jenisys force-pushed the main branch 5 times, most recently from 6508bd4 to a4dd3fe Compare March 6, 2022 23:33
@jenisys jenisys force-pushed the main branch 2 times, most recently from 11ddaf9 to 5101465 Compare May 2, 2022 19:16
@jenisys jenisys force-pushed the main branch 3 times, most recently from 7ec93d2 to 46ad983 Compare November 6, 2022 14:11
@jenisys jenisys force-pushed the main branch 4 times, most recently from fe1ca4d to fcfe5af Compare April 22, 2023 17:20
@jenisys jenisys force-pushed the main branch 2 times, most recently from 0a4d73b to 2c11d2e Compare May 14, 2024 22:39
@jenisys jenisys force-pushed the main branch 2 times, most recently from 3e51dda to c6ab01c Compare May 26, 2024 15:00
@jenisys jenisys force-pushed the main branch 2 times, most recently from eccf022 to 93e1218 Compare June 16, 2024 16:10
@jenisys jenisys force-pushed the main branch 2 times, most recently from cc16ac0 to 22569f4 Compare October 14, 2024 20:09
@jenisys jenisys force-pushed the main branch 2 times, most recently from 01407cf to 42e64a9 Compare October 24, 2024 23:28
@jenisys jenisys force-pushed the main branch 9 times, most recently from 9dc617b to b8b23bc Compare July 16, 2025 21:43
@jenisys jenisys force-pushed the main branch 4 times, most recently from 612d6d1 to 5796057 Compare August 4, 2025 06:58
@jenisys jenisys force-pushed the main branch 6 times, most recently from 370ce68 to cba3c4f Compare August 31, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants