Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: register a cluster with a worker earlier
The roachtest runner consists of a number of workers running tests in parallel. Each worker is linked to the cluster that it is currently using. Before this patch, a cluster was only registered with the test once a test started. This was unnecessarily late; the patch moves the registration to happen earlier, closer to when the cluster is created or picked up by the worker, which better matches the intended semnatics of this link. In particular, the linking now happens before the cockroach binary is uploaded to the cluster (a potentially slow operation), whereas before it happened after. These links between workers and clusters are used by the roachtest's web UI, which will now more accurately show who's using a cluster. Epic: none Release note: None
- Loading branch information