-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore(tests): Improving the tests for OSLogin SSH sample #8486
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
Conversation
Co-authored-by: Dan Lee <[email protected]>
Signed-off-by: Maciej Strzelczyk <[email protected]>
I want to change the test behavior to preserve the instances for which it fails. This way I can try to debug it better, as it happens very rarely. |
Here is the summary of changes. You are about to add 1 region tag.
You are about to delete 1 region tag.
This comment is generated by snippet-bot.
|
* docs(samples): New version of the OSLogin SSH script * Adding tests for the new snippet * Fixing test * Fixing lint problems * Adding region tag to new sample * Apply suggestions from code review Co-authored-by: Dan Lee <[email protected]> * Fixing some issues * Better exception handling * Fixing typing * Fixing typing * Making test more tolerant of ssh failures * Linting * Re-raising the exception if ssh fails too many times. * Improving error reporting * Making test more understanding with firewalls * Updating file name + linting. * Trying a different approach Signed-off-by: Maciej Strzelczyk <[email protected]> * Changing the behavior of test to preserve instances of failed tests. Signed-off-by: Maciej Strzelczyk <[email protected]> Co-authored-by: Dan Lee <[email protected]> Co-authored-by: Karl Weinmeister <[email protected]>
Description
Issue #8476
Issue #8429
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
nox -s py-3.9
(see Test Environment Setup)nox -s lint
(see Test Environment Setup)