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

[FEATURE][Test Framework] Add support response payload validation to the epilogues #619

Closed
hogesako opened this issue Oct 17, 2024 · 1 comment · Fixed by #772
Closed
Labels
enhancement New feature or request

Comments

@hogesako
Copy link
Contributor

Is your feature request related to a problem?

Currently only status code verification is available in the epilogues.
When testing asynchronous APIs, it may be necessary to wait for the epilogues to be processed until the process is complete.
Specifically, if we are testing a snapshot restore asynchronously, we must wait to delete the snapshot in the epilogue until the restore is complete.
This is because the following error occurs when deleting a snapshot while the restore is not completed.

ERROR   EPILOGUES
        ERROR   DELETE /_snapshot/{repository}/{snapshot} ([my-fs-repository:my-test-snapshot/KIVGLRXyR168qOKeAS1sIw] cannot delete snapshot during a restore in progress in [RestoreInProgress[{9gz8AVvDRPm9e2ZU8Gdw9A}{my-fs-repository:my-test-snapshot/KIVGLRXyR168qOKeAS1sIw}]])

I am not sure if there is a use case that requires response payload validation in prologues.

What solution would you like?

Add support response payload validation to the epilogues

What alternatives have you considered?

None

Do you have any additional context?

#611 (comment)

@dblock
Copy link
Member

dblock commented Jan 7, 2025

Implemented this in #772.

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

Successfully merging a pull request may close this issue.

2 participants