-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 flaky test TestTSHConfigConnectWithOpenSSHClient
#35861
Fix flaky test TestTSHConfigConnectWithOpenSSHClient
#35861
Conversation
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
tool/tsh/common/proxy_test.go
Outdated
assert.NoError(t, err) | ||
|
||
for _, e := range es { | ||
if e.GetCode() == events.AuthAttemptFailureCode && e.(*apievents.AuthAttempt).Login == nodeLogin { |
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.
The semantics here are slightly different than what we had before - is this intentional?
Before, if there was an AuthAttempt failure, the test would fail if the login was incorrect.
After, we just ignore these events if the login is incorrect.
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.
Good catch, fixed
Backport #35861 to branch/v12
I went ahead and opened the backports since Brian is still OOO and I just hit this on branch/v14 |
Backport #35861 to branch/v12 Co-authored-by: Brian Joerger <[email protected]>
Closes #13623