all: make all of TestLintReports subtests fully concurrent

Previously, we only use t.Parallel based on reports' year, meaning that
reports within the same year are tested serially.

Use t.Parallel for all subtests now to maximize concurrency and make the
test complete significantly faster. The amount of subtests that can
access the network at a given time are still limited. This ensures that
we do not encounter failures due to getting throttled.

On my local machine, this sped up the test from 162 seconds to 77
seconds.

Change-Id: Iff0f9c3cbe8f4d989d05d79ceb9ac14e5727f54e
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/798920
Reviewed-by: Nicholas Husin <husin@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
1 file changed
tree: 88d6c11b5ea6d0b411955a3011100b3f76af43ba
  1. .github/
  2. cmd/
  3. data/
  4. deploy/
  5. devtools/
  6. doc/
  7. internal/
  8. report/
  9. terraform/
  10. webconfig/
  11. .gitignore
  12. all_test.go
  13. checks.bash
  14. CONTRIBUTING.md
  15. go.mod
  16. go.sum
  17. LICENSE
  18. PATENTS
  19. README.md
  20. tools_test.go
README.md

The Go Vulnerability Database

Go Reference

This repository contains the infrastructure and internal reports to create the Go Vulnerability Database.

Warning: Packages here are internal to the Go Security Team and its needs; Some may be modified arbitrarily or even disappear altogether. In short, code in this repository is NOT subject to the Go 1 Compatibility Promise.

Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.

Reporting a vulnerability or feedback

Click here to report a public vulnerability in the Go ecosystem, or give feedback about the project.

Privacy Policy

The privacy policy for govulncheck can be found at https://vuln.go.dev/privacy.

License

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Database entries are distributed under the terms of the CC-BY-4.0 license. See go.dev/security/vuln/database for information on how to access these entries.