mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-31 12:06:26 +08:00
Takes inspiration from https://github.com/gravitational/teleport.e/pull/1944 which addressed similar EOF error showing up when driving streams in tests. From https://pkg.go.dev/google.golang.org/grpc#ClientStream.SendMsg: > // SendMsg is generally called by generated code. On error, SendMsg aborts > // the stream. If the error was generated by the client, the status is > // returned directly; otherwise, io.EOF is returned and the status of > // the stream may be discovered using RecvMsg.