From a7ef1a2680592dd6662ec0bde823885ae1f3fa5a Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Mon, 6 Nov 2023 15:22:28 -0800 Subject: [PATCH] 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 Auto-Submit: Damien Neil LUCI-TryBot-Result: Go LUCI --- internal/quic/cmd/interop/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/quic/cmd/interop/main_test.go b/internal/quic/cmd/interop/main_test.go index 6fd9c0f2d..4119740e6 100644 --- a/internal/quic/cmd/interop/main_test.go +++ b/internal/quic/cmd/interop/main_test.go @@ -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()