-
Notifications
You must be signed in to change notification settings - Fork 8
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
Report an error if proxy does not receive any requests #320
Conversation
Ran a manual test of this as well, by pointing the disruptor to a service unrelated to SUT. Tt seems to be working fine. New error looks like the following:
Manual test for a correctly configured scenario reports no error, as expected. |
cb1fd58
to
4876c05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I only have a concern regarding the UX. Seeing the test, which basically does not send any traffic and yet generates an error, maybe this behavior is too strict. I can image other cases such as a test with many target pods but that generates a few requests. There's a chance some pods do not receive any traffic and make the test fail maybe we should add an option to control this behavior and make it optional. The option should be added to the fault injection options and passed all the way down to the agent via a parameter in the fault injection. |
@pablochacin I agree with the UX concern you mention: This error can be helpful in some cases but an annoyance in others. Would you consider this a blocker for this PR, or something to be discussed after it? |
@roobre I approved the PR because I don't think this issue should be blocking. I will add an issue about the UX problem. |
Description
Fixes #223
Checklist:
make lint
) and all checks pass.make test
) and all tests pass.make e2e-xxx
foragent
,disruptors
,kubernetes
orcluster
related changes)Extra: