-
Notifications
You must be signed in to change notification settings - Fork 333
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
fix(MeshTrace): invalid sampling default values #11548
fix(MeshTrace): invalid sampling default values #11548
Conversation
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
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.
Don't we need to add a test to prevent re-introducing this? How did this pass validation
tests the first time?
ok so the original PR never changed the tests to check if it work 👀
overall: 80 |
How could we ever reintroduce this? So would we have validation that sets every object field to the empty value to test if the default values of that field's fields are correct? |
In particular this only shows up if |
That will also be beneficial. It's just that if we change the default from "100" to "100%" then we NEED to change the unit tests as well. |
What exactly would the test test, just that the default values we enter aren't invalid? Note this also only shows up with Kubernetes because of #6070 |
@michaelbeaumont can you add an error case with explicit "80%"? |
What would that test? |
well exactly the problem that we hit 🤔 EDIT: I agree that now it's of not that much value but it would've been useful in the past |
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Checklist prior to review
syscall.Mkfifo
have equivalent implementation on the other OS --ci/
labels to run additional/fewer testsUPGRADE.md
? --