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
testing: t.Parallel should pause test timer while it waits #5285
The function t.Parallel() does not pause the internal timer, so the time that it takes for the test case to get scheduled gets counted in that test's execution time. Options: 1) This can be fixed by moving the StopTimer stuff from testing.B to testing.common, and using those functions inside t.Parallel to stop the timer before doing the chan ops, and starting the timer again afterwards. 2) Manually pause and resume the timer by messing around with the start time in t.Parallel
This issue was closed.