-
Notifications
You must be signed in to change notification settings - Fork 4.1k
server: investigate why TestStatusGetFiles does not work with a shared process virtual cluster #112956
Copy link
Copy link
Open
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-investigationFurther steps needed to qualify. C-label will change.Further steps needed to qualify. C-label will change.T-db-server
Description
Describe the problem
When running the test with a shared process virtual cluster:
--- FAIL: TestStatusGetFiles (5.15s)
=== RUN TestStatusGetFiles/heap
files_test.go:70: rpc error: code = Unimplemented desc = dump directory not configured: HEAP
--- FAIL: TestStatusGetFiles/heap (0.00s)
=== RUN TestStatusGetFiles/goroutines
files_test.go:115: rpc error: code = Unimplemented desc = dump directory not configured: GOROUTINES
--- FAIL: TestStatusGetFiles/goroutines (0.00s)
=== RUN TestStatusGetFiles/path_separators
files_test.go:144: GetFiles: path separators allowed in pattern
--- FAIL: TestStatusGetFiles/path_separators (0.00s)
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: #112857
Epic CRDB-38970
Jira issue: CRDB-32693
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-investigationFurther steps needed to qualify. C-label will change.Further steps needed to qualify. C-label will change.T-db-server