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

Fixed unstable e2e restore tests #5010

Merged
merged 2 commits into from
Sep 28, 2022
Merged

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Sep 28, 2022

Motivation and context

Resolved #4995

The problem with restore tests arises when network runs slow, which can happen from time to time. After backup was uploaded tests were checking for restoring status. If its in progress, server returned 202, if it ended server returned 201. When network is fast enough 202 is returned, and if its slow, backup restore is ended already which leads to 201 response. Hence we need to make waiting for 202 response optional.

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@klakhov klakhov added the tests label Sep 28, 2022
@klakhov
Copy link
Contributor Author

klakhov commented Sep 28, 2022

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2022

✔️ All checks completed successfully
📄 See logs here

@sizov-kirill
Copy link
Contributor

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2022

✔️ All checks completed successfully
📄 See logs here

@klakhov
Copy link
Contributor Author

klakhov commented Sep 28, 2022

@bsekachev Could you look on this fix?

@bsekachev
Copy link
Member

/check

@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2022

✔️ All checks completed successfully
📄 See logs here

@bsekachev bsekachev merged commit 8b719e4 into develop Sep 28, 2022
@bsekachev bsekachev deleted the kl/fix-unstable-restore-tests branch October 17, 2022 10:17
@nmanovic nmanovic mentioned this pull request Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unstable Cypress test
3 participants