Change information
Commit message:
internal/upload: use UTC time in TestRun_Concurrent
When (1) UTC time is in the next day, and (2) weekends day is exactly
right, the first count in TestRun_Concurrent will fall to be aggregated
into a report whose end date is too old. As a result, we can expect
approximately a (7/24)*(1/7) = 4% flake rate.
Fix this by correcting the counter time to UTC and pinning the upload
start time, so that the first count will not be on an earlier day, and
we avoid date skew.
Fixes golang/go#67737
Change-Id: If3b99afe4cbb6d12aa3e87177fc663f4c20ebd12
Files:
- M internal/upload/findwork.go
- M internal/upload/run_test.go
Change size: S
Delta: 2 files changed, 10 insertions(+), 6 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Hyang-Ah Hana Kim
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI