[catalyst] Fix data race in tests

Multiple goroutines were attempting to read the process struct
within the subcommand at the same time.

Change-Id: I1288859946258b8f3193e27a76da3cb4d8f53372
Bug: 50938
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/384657
Reviewed-by: Nathan Mulcahey <nmulcahey@google.com>
Commit-Queue: Anirudh Mathukumilli <rudymathu@google.com>
1 file changed
tree: 69924b652a8ca4617ed1866643ab9aba3f6b925e
  1. artifacts/
  2. buildbucket/
  3. cmd/
  4. devices/
  5. digest/
  6. gotidy/
  7. .gitignore
  8. AUTHORS
  9. go.mod
  10. go.sum
  11. LICENSE
  12. MAINTAINERS
  13. manifest
  14. PATENTS
  15. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.

In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:

REPO=fuchsia.googlesource.com/infra/infra
git clone https://${REPO} $(go env GOPATH)/src/${REPO}