Skip to content

release-25.2: sql/importer: fix TestUniqueUUID timeout#166344

Open
blathers-crl[bot] wants to merge 1 commit intorelease-25.2from
blathers/backport-release-25.2-166309
Open

release-25.2: sql/importer: fix TestUniqueUUID timeout#166344
blathers-crl[bot] wants to merge 1 commit intorelease-25.2from
blathers/backport-release-25.2-166309

Conversation

@blathers-crl
Copy link

@blathers-crl blathers-crl bot commented Mar 21, 2026

Backport 1/1 commits from #166309 on behalf of @mw5h.


Summary

Disable elastic CPU control in TestUniqueUUID to prevent the test from
exceeding the 15m timeout. The test imports 50,000 rows across three
tables with UUID/random primary key defaults.

When the metamorphic constant import-row-count-validation selects
sync mode, each import synchronously waits for an INSPECT validation
job that scans the imported data. Combined with elastic CPU throttling
(which was recently enabled for import jobs), the cumulative scan time
across the three imports can exceed the test timeout.

This mirrors the fix applied to other import tests in bda9189.

Resolves: #166130
Epic: None

🤖 Generated with Claude Code


Release justification:

Disable elastic CPU control in TestUniqueUUID to prevent the test from
exceeding the 15m timeout. The test imports 50,000 rows across three
tables with UUID/random primary key defaults.

When the metamorphic constant `import-row-count-validation` selects
`sync` mode, each import synchronously waits for an INSPECT validation
job that scans the imported data. Combined with elastic CPU throttling
(which was recently enabled for import jobs), the cumulative scan time
across the three imports can exceed the test timeout.

This mirrors the fix applied to other import tests in bda9189.

Resolves: #166130
Epic: None
Release note: None

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@blathers-crl blathers-crl bot requested a review from a team as a code owner March 21, 2026 00:27
@blathers-crl blathers-crl bot force-pushed the blathers/backport-release-25.2-166309 branch from 55f322f to 8c358bf Compare March 21, 2026 00:27
@blathers-crl blathers-crl bot requested review from yuzefovich and removed request for a team March 21, 2026 00:27
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Mar 21, 2026
@blathers-crl blathers-crl bot requested a review from DrewKimball March 21, 2026 00:27
@blathers-crl
Copy link
Author

blathers-crl bot commented Mar 21, 2026

Thanks for opening a backport.

Before merging, please confirm that it falls into one of the following categories (select one):

  • Non-production code changes OR fixes for serious issues. Non-production includes test-only changes, build system changes, etc. Serious issues are defined in the policy as correctness, stability, or security issues, data corruption/loss, significant performance regressions, breaking working and widely used functionality, or an inability to detect and debug production issues.
  • Other approved changes. These changes must be gated behind a disabled-by-default feature flag unless there is a strong justification not to. Reference the approved ENGREQ ticket in the PR body (e.g., "Fixes ENGREQ-123").

Add a brief release justification to the PR description explaining your selection.

Also, confirm that the change does not break backward compatibility and complies with all aspects of the backport policy.

All backports must be reviewed by the TL and EM for the owning area.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-sql-queries SQL Queries Team labels Mar 21, 2026
@blathers-crl
Copy link
Author

blathers-crl bot commented Mar 21, 2026

✅ PR #166344 is compliant with backport policy

Confidence: high
Backward compatible: true
Explanation: The PR changes are limited solely to a test file named import_stmt_test.go. According to the backport policy, changes that affect only non-production code, specifically test files (indicated by patterns such as *_test.go), are exempt from the standard backport requirements. This makes the PR compliant as it does not necessitate further checks for critical bug fixes or feature flag gating.

ENGREQ Check Failed: Please check one of the backport category checkboxes.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

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

Labels

backport Label PR's that are backports to older release branches backport-failed blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-sql-queries SQL Queries Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants