]> Cypherpunks repositories - gostls13.git/commit
internal/trace: increment sync counter before final Sync on error
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 10 Feb 2025 23:54:56 +0000 (23:54 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 11 Feb 2025 16:21:30 +0000 (08:21 -0800)
commit887d9ef6101c6efeef00b0c7c80e634ff983fdcc
tree10e0f33fb2a727a02d2ec8c88ba4ea6a7bffa3c1
parent7c1a4134b4191e87ae05d07343329e83aada6132
internal/trace: increment sync counter before final Sync on error

CL 648195 was supposed to have fixed #71615, but it didn't include an
update to r.syncs. I can confirm this CL fixes the issue even when
running the test many times in a row.

Fixes #71615.

Change-Id: I97db3d639dc5bc8648a191696f90b0e5087307c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/648315
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
src/internal/trace/reader.go