-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
tests(monitoring): normalize VPCSC configuration in systests #9615
tests(monitoring): normalize VPCSC configuration in systests #9615
Conversation
- Use 'vpcsc_config' for VPCSC environment, skipping. - Skip VPCSC-only tests at class scope. - Split '_is_rejected' to avoid 'list()' call for APIs not returning iterators. - Remove never-reached branch in '_do_test'. - Avoid swallowing unexpected exceptions in '_is_rejected'.
I tagged with "do not merge" because I believe we should refactor all these un-idiomatic tests along the lines of the changes in #9618. |
@busunkim96 I removed the "do not merge" label after updating the tests to follow the pattern in #9618. |
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.
Thank you for fixing all the VPCSC tests!
Looks like one of the test files needs to be blackened:
|
Hi @tseaver shall we have a GVC? These tests are auto generated, not authored by human. The next test refresh will override any manual refactoring you've done. |
Hi @steinwaywhw, I believe your team maintains a script to make these tests? It'd be best for your generator to produce tests that look close to the present format (looking for the actual error that will be raised). The other VPCSC tests have also been changed to use this format. Feel free to put something on my calendar if you would like to chat further. |
Toward #9580.