mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 23:31:08 +08:00
* 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 <39066650+rosstimothy@users.noreply.github.com> * 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. --------- Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com> Co-authored-by: Tim Ross <tim.ross@goteleport.com>