Skip to content

Refine cancel in test #32939

@wjhuang2016

Description

@wjhuang2016

Enhancement

We use admin.CancelJobs(txn, test.jobIDs) in test to cancel a DDL job.
The code is a little complex and doesn't compatible with the new DDL framework.
We should use SQL statement "admin cancel ddl job" to achieve the same goal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions