Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry BackOffPolicy #1277

Closed
ermicioi opened this issue Jan 20, 2020 · 4 comments
Closed

Retry BackOffPolicy #1277

ermicioi opened this issue Jan 20, 2020 · 4 comments
Labels
🙏 help wanted Help wanted - not prioritized by core team ⚡ enhancement Request for new functionality

Comments

@ermicioi
Copy link

ermicioi commented Jan 20, 2020

Feature request for implementing some BackOffPolicy for retry feature.

Example scenario:
When running a suite of tests against a self recoverable environment and some test are failing, because the node goes down, then retry execution after N milliseconds, when the node is brought up.

In current solution the retry executes same test again without an configurable wait, which does not make sense as the node didn't come back yet.

As reference for BackOffPolicy can be spring-retry project, https://docs.spring.io/spring-retry/docs/api/current/org/springframework/retry/backoff/BackOffPolicy.html.

@davidjgoss
Copy link
Contributor

davidjgoss commented Feb 3, 2020

I’m not sure how this could be added without either being very opinionated or adding lots more configurability (eg more CLI options).

Hypothetically if the attemptNumber was made available to hooks then users could potentially implement this kind of thing themselves.

@ermicioi
Copy link
Author

ermicioi commented Feb 3, 2020

I will come with a PR, I hope soon :)

@charlierudolph
Copy link
Member

This issue may be related where I had the idea that a custom work partitioning for parallel could be defined via a function so we can do things other than CLI to support this: #1044

@aslakhellesoy aslakhellesoy added 🙏 help wanted Help wanted - not prioritized by core team ⚡ enhancement Request for new functionality labels Feb 2, 2021
@davidjgoss
Copy link
Contributor

Closing this now, because:

  • It's been inactive for a long time
  • There are no current plans to implement this particular functionality in the core team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 help wanted Help wanted - not prioritized by core team ⚡ enhancement Request for new functionality
Projects
None yet
Development

No branches or pull requests

4 participants