oxidecomputer / oxidecomputer/cockroach

inspect/delete `TestTenantClusterFlow`

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cleanup
Dominant language
Go
Stars
34
Forks
8
PR merge metrics
No merged PRs in 30d

Description

https://github.com/oxidecomputer/cockroach/blob/afda0c16c882a426eda6bd8791d7c0f3da6eaadb/pkg/sql/flowinfra/cluster_test.go#L326-L328

There's a similarish TestClusterFlow above, figure out if the two tests are more or less equivalent, and delete the multitenant one we deleted the underlying CCL-licensed code for.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open pkg/sql/flowinfra/cluster_test.go at the referenced lines and compare TestTenantClusterFlow with the nearby TestClusterFlow. Determine whether the tests are effectively equivalent, then remove the multitenant test if so. Run the relevant tests to confirm the file still passes after the deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.