Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data race issues exposed by running tests in parallel
Two changes: - I missed a couple places to transition from the direct, `grpcvtctldserver.NewVtctldServer` to the indirect `testutil.NewVtctldServerWithTabletManagerClient`, which guards against data races in the tabletmanager protocol registry. - Added a call to `grpccommon.EnableTracingOpt()` in the `init` of vtadmin's tests, to force the one-time write to occur before any concurrent tests start up and try to read that value. Signed-off-by: Andrew Mason <amason@slack-corp.com>
- Loading branch information