File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,6 @@ func (s *Stream) startCopyingLocked() {
451
451
452
452
// Use a buffer for copying
453
453
n , err := s .pipe .Read (buf )
454
-
455
454
if err != nil {
456
455
// Check for fatal errors that should terminate the goroutine
457
456
if xerrors .Is (err , io .ErrClosedPipe ) {
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ func TestStream_ReconnectionScenarios(t *testing.T) {
495
495
// Use context-aware copying to prevent hangs
496
496
go func () {
497
497
<- serverCtx .Done ()
498
- c .Close ()
498
+ _ = c .Close ()
499
499
}()
500
500
_ , _ = io .Copy (c , c )
501
501
}(conn )
@@ -707,7 +707,6 @@ func TestStream_ReconnectionScenarios(t *testing.T) {
707
707
}
708
708
}
709
709
})
710
-
711
710
}
712
711
713
712
func TestStream_SequenceNumberReconnection_WithSequenceNumbers (t * testing.T ) {
@@ -874,7 +873,7 @@ func TestStream_SequenceNumberReconnection_WithDataLoss(t *testing.T) {
874
873
// Use context-aware copying to prevent hangs
875
874
go func () {
876
875
<- serverCtx .Done ()
877
- c .Close ()
876
+ _ = c .Close ()
878
877
}()
879
878
_ , _ = io .Copy (c , c )
880
879
}(conn )
You can’t perform that action at this time.
0 commit comments