cockroachdb / cockroachdb/cockroach
server: investigate why TestStatusVarsTxnMetrics does not work with a shared process virtual cluster
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Describe the problem**
When running `TestStatusVarsTxnMetrics` with a shared process virtual cluster the expected result does not always contain the tenant label. There are discrepancies between external and shared processes for this test in the expected results.
**How to reproduce**
Set the following in `TestServerArgs` to force a shared process tenant and cause the failure to happen.
```
DefaultTestTenant: base.SharedTestTenantAlwaysEnabled,
```
**Expected behavior**
The test should pass when running with a shared process virtual cluster, unless after investigation the test is expected not to work with one.
Ref: https://github.com/cockroachdb/cockroach/issues/112857
Epic CRDB-38970
Jira issue: CRDB-32691
Contributor guide
Assessment
This issue has not been assessed yet.