Skip to content

Commit a7ef1a2

Browse files
neildgopherbot
authored andcommitted
internal/quic/cmd/interop: don't t.Log after test finishes
Fixes golang/go#63971 Change-Id: I795356202880daa2d4a0cfd019c542e5820e8020 Reviewed-on: https://go-review.googlesource.com/c/net/+/539857 Reviewed-by: Bryan Mills <[email protected]> Auto-Submit: Damien Neil <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 26ea817 commit a7ef1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/quic/cmd/interop/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ func run(ctx context.Context, t *testing.T, name, testcase string, args []string
7272
addrc := make(chan string, 1)
7373
donec := make(chan struct{})
7474
go func() {
75-
defer t.Logf("%v done", name)
7675
defer close(addrc)
7776
defer close(donec)
77+
defer t.Logf("%v done", name)
7878
s := bufio.NewScanner(out)
7979
for s.Scan() {
8080
line := s.Text()

0 commit comments

Comments
 (0)