Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/sys: unix/syscall_linux_test.go:TestTime is flaky #33200
These values are only good to 1-second precision, but since the calls do not occur at exactly the same time, there is still a possibility that the latter call could refer to next second. The strict equality check does not account for this and so the test sporadically fails whenever you happen to hit that rollover between both function calls.
What version of Go are you using (