-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v15] Fix flaky test
TestProxySSHJumpHost
(#40232)
* Use testServer.MakeTestServer to fix issue with parallel runs using the same ports. * Add deprecation comments for test server helpers outside of tools/teleport/testenv. * Update tool/teleport/testenv/test_server.go Co-authored-by: rosstimothy <[email protected]> * Disable SSH resumption Enable LoadAllCAs Update comments * Prevent context.Canceled from being wrapped across transport stream trail doesn't properly handle conversions to and from errors that are context.Canceled which results in code paths trying to evaluate errors.Is(err, context.Canceled) failing. The error recevied is an interceptors.RemoteError, which wraps a trace.TraceErr, which contains a status.Status with codes.Canceled. To work around this until trail is updated the server half of the stream was updated to return an io.EOF if if encouters a canceled error. * Fix mockSSOLogin. --------- Co-authored-by: joerger <[email protected]>
- Loading branch information
1 parent
6e72fc7
commit d8d0b50
Showing
6 changed files
with
133 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters