Skip to content

Commit

Permalink
internal/quic/cmd/interop: don't t.Log after test finishes
Browse files Browse the repository at this point in the history
Fixes golang/go#63971

Change-Id: I795356202880daa2d4a0cfd019c542e5820e8020
Reviewed-on: https://go-review.googlesource.com/c/net/+/539857
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
neild authored and gopherbot committed Nov 7, 2023
1 parent 26ea817 commit a7ef1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/quic/cmd/interop/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ func run(ctx context.Context, t *testing.T, name, testcase string, args []string
addrc := make(chan string, 1)
donec := make(chan struct{})
go func() {
defer t.Logf("%v done", name)
defer close(addrc)
defer close(donec)
defer t.Logf("%v done", name)
s := bufio.NewScanner(out)
for s.Scan() {
line := s.Text()
Expand Down

0 comments on commit a7ef1a2

Please sign in to comment.