Repository navigation
test: stabilize flaky TestCancelVariousJobs and TestExchangePartitionMultiTable (release-6.5-20260928-v6.5.6) - #71665
Conversation
close pingcap#71398 (cherry picked from commit 883ce9a) Conflicts resolved for this release branch: - This branch predates the pkg/ source layout; the changes were applied to the equivalent files planner/core/planbuilder.go and planner/core/preprocess.go (not pkg/planner/core/...). - planner/core uses the package-local ErrTableaccessDenied (no plannererrors alias here); the test file uses core.ErrTableaccessDenied and errno.ErrTableaccessDenied. Behaviour and tests are preserved. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit d289d6f)
close pingcap#71400 (cherry picked from commit 90ecf49) Conflicts resolved for this release branch: - This branch predates the pkg/ source layout; changes were applied to the equivalent files ddl/ddl_api.go and planner/core/planbuilder.go (not pkg/ddl/... or pkg/planner/core/...). - pkg/ddl/executor.go does not exist here; ExchangeTablePartition lives in ddl/ddl_api.go, so the system-table guard was applied there instead. - The upstream guard used metadef.IsReservedID(id) with dbterror.ErrForbiddenDDL, neither of which exists here; substituted util.IsMemOrSysDB and dbterror.ErrGeneralUnsupportedDDL, preserving the error message. - The getLowerDB helper is absent; its equivalent (the lowercased new-table schema, falling back to the current database) is inlined at the call site. - planner/core uses the package-local ErrTableaccessDenied (no plannererrors alias here); the test file uses core.ErrTableaccessDenied. Session().Auth here takes three arguments, matching this branch's signature. Behaviour and tests are preserved (mysql.tidb_ddl_job is in a system DB). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit ccd89b3)
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter, wjhuang2016 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/retest |
1 similar comment
|
/retest |
|
@bb7133: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
8213131
into
pingcap:release-6.5-20260928-v6.5.6
What problem does this PR solve?
Issue Number: close #71547
Problem Summary:
Backport #71399 and #71402 to
release-6.5-20260928-v6.5.6.What changed and how does it work?
Two cherry-picks, applied in the order they merged to master.
Check List
Tests
Side effects
Documentation
Release note