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

Open
hogesako opened this issue Oct 17, 2024 · 0 comments
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)

@hogesako hogesako added enhancement New feature or request untriaged labels Oct 17, 2024
@dblock dblock removed the untriaged label Oct 17, 2024
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

No branches or pull requests

2 participants