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

Add option to avoid test failing if traffic is not intercepted #325

Open
pablochacin opened this issue Aug 28, 2023 · 0 comments
Open

Add option to avoid test failing if traffic is not intercepted #325

pablochacin opened this issue Aug 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pablochacin
Copy link
Collaborator

pablochacin commented Aug 28, 2023

#223 introduced a validation in the agent in order to report an error if no traffic was intercepted by an agent.

This change was introduced in order to detect misconfigurations causing the fault injection not to affect the traffic. For example, specifying the wrong target port, or selecting pods with the wrong criteria (e.g. wrong labels)

However, there are several scenarios in which an agent can receive no traffic. For example, when sending a single (or a few) request to a service backed by multiple pods. In this case, with a low error rate, some pods may not receive any traffic at all.

Therefore, it would be convenient to offer users an option to prevent this behavior.

@pablochacin pablochacin added the enhancement New feature or request label Aug 28, 2023
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

1 participant