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

Suggest to support retry strategy on verification step #507

Closed
JohnNiang opened this issue Jul 5, 2024 · 2 comments
Closed

Suggest to support retry strategy on verification step #507

JohnNiang opened this issue Jul 5, 2024 · 2 comments
Labels

Comments

@JohnNiang
Copy link

Description:

See https://www.rfc-editor.org/rfc/rfc9110#status.409 for more.

Below is an example of test case with retry strategy:

- name: recover
  request:
    api: /content.halo.run/v1alpha1/posts/{{(index .listPosts.items 0).post.metadata.name}}
    method: DELETE
  expect:
    statusCode: 200
  retry:
    on:
      statusCode: 409
    count: 10
    interval: 10s

[optional Relevant Links:]

@JohnNiang JohnNiang added the enhancement New feature or request label Jul 5, 2024
Copy link

github-actions bot commented Aug 4, 2024

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 4, 2024
Copy link

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the api-testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant