Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: short tests are not short enough #26472
Running all.bash (which does go test -short std cmd), my target is usually that individual tests should run in under 1 second.
The cmd/go tests will never reach this target - cmd/go does more than perhaps the entire standard library combined, so it's fine to take more than 1 second. But my usual target is to keep it below 30s, if not 20s. Right now it's at 76s. We should keep bringing that down.
Converting more tests to scripts may help.
cmd/go times out on my Windows 10 but I noticed that