Skip to content

[v13] Fix test after Go 1.21 upgrade#38009

Merged
codingllama merged 1 commit intobranch/v13from
codingllama/flaky-v13
Feb 9, 2024
Merged

[v13] Fix test after Go 1.21 upgrade#38009
codingllama merged 1 commit intobranch/v13from
codingllama/flaky-v13

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Fully backport #30201 to branch/v13, in the process fixing the flaky rotation and rollback tests.

I wrongly left this line out of #37561, believing it was not necessary (as it was removed from master).

* Fix test after Go 1.21 upgrade

Updated the error messages in the lib/teleterm/teleterm_test.go and lib/auth/tls_test.go test files from "tls: bad certificate" to more specific ones ("tls: certificate required", "unknown certificate authority") to accurately reflect the Go 1.21 update in the TLS server behavior.

* Apply suggestions from code review

Co-authored-by: Alan Parra <alan.parra@goteleport.com>

---------

Co-authored-by: Alan Parra <alan.parra@goteleport.com>
@codingllama codingllama added the no-changelog Indicates that a PR does not require a changelog entry label Feb 9, 2024
@codingllama codingllama requested a review from wadells February 9, 2024 15:33
@github-actions github-actions Bot requested review from tigrato and zmb3 February 9, 2024 15:33
@codingllama codingllama mentioned this pull request Feb 9, 2024
@codingllama codingllama added this pull request to the merge queue Feb 9, 2024
Merged via the queue into branch/v13 with commit 032f33d Feb 9, 2024
@codingllama codingllama deleted the codingllama/flaky-v13 branch February 9, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants