Skip to content

test: isolate issue 26114 cluster tests - #27090

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
ck89119:issue-27060-main
Aug 13, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
ck89119:issue-27060-main

Conversation

@ck89119

@ck89119 ck89119 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Fixes #27060

What this PR does / why we need it:

  • Moves the issue [Bug]: DATA BRANCH TO ACCOUNT ignores the target account branch quota #26114 cross-account branch tests into the serial pkg/tests/issues/isolated package.
  • Starts and closes a fresh one-CN authenticated cluster for each test instead of reusing the long-lived shared base cluster.
  • Preserves the original quota, ownership, concurrency, and legacy-metadata assertions while removing interference from earlier heavy embedded-cluster tests.

Test results

  • Focused tests: passed individually twice and together.
  • Focused race tests: passed; measured 21.49s and 19.07s, with adaptive B=30s and N=1.
  • Full pkg/tests/issues/isolated and pkg/tests/issues packages: passed in normal and race modes.
  • go vet for both packages: passed with MatrixOne CGo environment.
  • make build: passed.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

VioletQwQ-0 pushed a commit to VioletQwQ-0/matrixone that referenced this pull request Sep 17, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [x] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Fixes matrixorigin#27060

## What this PR does / why we need it:

- Moves the issue matrixorigin#26114 cross-account branch tests into the serial
`pkg/tests/issues/isolated` package.
- Starts and closes a fresh one-CN authenticated cluster for each test
instead of reusing the long-lived shared base cluster.
- Preserves the original quota, ownership, concurrency, and
legacy-metadata assertions while removing interference from earlier
heavy embedded-cluster tests.

## Test results

- Focused tests: passed individually twice and together.
- Focused race tests: passed; measured 21.49s and 19.07s, with adaptive
B=30s and N=1.
- Full `pkg/tests/issues/isolated` and `pkg/tests/issues` packages:
passed in normal and race modes.
- `go vet` for both packages: passed with MatrixOne CGo environment.
- `make build`: passed.

Co-authored-by: XuPeng-SH <[email protected]>
VioletQwQ-0 pushed a commit to VioletQwQ-0/matrixone that referenced this pull request Sep 17, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [x] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Fixes matrixorigin#27060

## What this PR does / why we need it:

- Moves the issue matrixorigin#26114 cross-account branch tests into the serial
`pkg/tests/issues/isolated` package.
- Starts and closes a fresh one-CN authenticated cluster for each test
instead of reusing the long-lived shared base cluster.
- Preserves the original quota, ownership, concurrency, and
legacy-metadata assertions while removing interference from earlier
heavy embedded-cluster tests.

## Test results

- Focused tests: passed individually twice and together.
- Focused race tests: passed; measured 21.49s and 19.07s, with adaptive
B=30s and N=1.
- Full `pkg/tests/issues/isolated` and `pkg/tests/issues` packages:
passed in normal and race modes.
- `go vet` for both packages: passed with MatrixOne CGo environment.
- `make build`: passed.

Co-authored-by: XuPeng-SH <[email protected]>
VioletQwQ-0 pushed a commit to VioletQwQ-0/matrixone that referenced this pull request Sep 17, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [x] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Fixes matrixorigin#27060

## What this PR does / why we need it:

- Moves the issue matrixorigin#26114 cross-account branch tests into the serial
`pkg/tests/issues/isolated` package.
- Starts and closes a fresh one-CN authenticated cluster for each test
instead of reusing the long-lived shared base cluster.
- Preserves the original quota, ownership, concurrency, and
legacy-metadata assertions while removing interference from earlier
heavy embedded-cluster tests.

## Test results

- Focused tests: passed individually twice and together.
- Focused race tests: passed; measured 21.49s and 19.07s, with adaptive
B=30s and N=1.
- Full `pkg/tests/issues/isolated` and `pkg/tests/issues` packages:
passed in normal and race modes.
- `go vet` for both packages: passed with MatrixOne CGo environment.
- `make build`: passed.

Co-authored-by: XuPeng-SH <[email protected]>

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/test-ci size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TestIssue26114CrossAccountBranchUsesTargetQuotaAndOwnership flakes after LogService timeout

3 participants