Skip to content

tests/e2e: add ability to reset checker limits and retry demo app installation #674

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

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

willfindlay
Copy link
Contributor

This should resolve a rare CI failure caused by the demo app failing to install correctly.

In some cases, we want to the ability to retry tests when specific setup conditions fail.
For example, this might happen when a helm deployment fails to install and we would like
to try again without the checker timing out.

Signed-off-by: William Findlay <[email protected]>
The demo app can sometimes fail to install correctly. If that happens, let's try again.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay requested a review from a team as a code owner January 31, 2023 19:41
@willfindlay willfindlay requested a review from tixxdz January 31, 2023 19:41
@jrfastab
Copy link
Contributor

jrfastab commented Feb 4, 2023

I think this is OK we likely wont had any bugs with retries here because we are retrying the install of other things, not tetragon?

@willfindlay
Copy link
Contributor Author

@jrfastab correct. Basically, the issue is that we sometimes got eventchecker failures that weren't our fault because the demo app wasn't installing correctly. This will only retry when that installation fails, so we won't be missing legitimate failures.

@kkourt kkourt merged commit c511bf6 into main Feb 10, 2023
@kkourt kkourt deleted the pr/willfindlay/e2e-improvements branch February 10, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants