Skip to content

Commit a9a0ef5

Browse files
committed
tests: No need to close integration test stderr twice
1 parent 77dbb50 commit a9a0ef5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/t.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,6 @@ func (t *T) Run(waitListeners int) {
321321
serverStarted := make(chan bool)
322322

323323
go func() {
324-
defer func() {
325-
assert.NoError(t, logOut.Close())
326-
}()
327324
defer close(serverStarted)
328325
scnr := bufio.NewScanner(logOut)
329326
for scnr.Scan() {

0 commit comments

Comments
 (0)