Skip to content

ci(dm): Fix DM import_v10x Test Failure Due to TiDB int Type Display Change#11681

Merged
ti-chi-bot[bot] merged 2 commits into
pingcap:masterfrom
wlwilliamx:fix/dm-import_v10x-test-tidb-int-change
Oct 23, 2024
Merged

ci(dm): Fix DM import_v10x Test Failure Due to TiDB int Type Display Change#11681
ti-chi-bot[bot] merged 2 commits into
pingcap:masterfrom
wlwilliamx:fix/dm-import_v10x-test-tidb-int-change

Conversation

@wlwilliamx
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: close #11680

This PR fixes the import_v10x test case in DM’s CI, which has been failing due to recent changes in TiDB. TiDB modified how the default int type is displayed when using the SHOW CREATE TABLE statement, causing the test to break. ref: pingcap/tidb#56529

What is changed and how it works?

I have updated the import_v10x test to accommodate the changes made in TiDB’s handling of int types in SHOW CREATE TABLE. This ensures compatibility with the latest version of TiDB and prevents the test from failing in future CI runs.

Check List

Tests

  • Unit test
  • Integration test

Questions

Will it cause performance regression or break compatibility?

No.

Do you need to update user documentation, design documentation or monitoring documentation?

No.

Release note

None

@ti-chi-bot ti-chi-bot Bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-triage-completed area/dm Issues or PRs related to DM. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 23, 2024
@wlwilliamx
Copy link
Copy Markdown
Contributor Author

cc @lance6716

Copy link
Copy Markdown
Contributor

@lance6716 lance6716 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest lgtm

Comment thread dm/tests/import_v10x/run.sh Outdated
@ti-chi-bot ti-chi-bot Bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 23, 2024
Co-authored-by: lance6716 <lance6716@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.1937%. Comparing base (76ebb37) to head (4c280f3).
Report is 2 commits behind head on master.

Additional details and impacted files
Components Coverage Δ
cdc 59.6856% <ø> (+0.0673%) ⬆️
dm 50.0808% <ø> (+0.0096%) ⬆️
engine 53.2449% <ø> (+0.0451%) ⬆️
Flag Coverage Δ
unit 55.1937% <ø> (+0.0424%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master     #11681        +/-   ##
================================================
+ Coverage   55.1512%   55.1937%   +0.0424%     
================================================
  Files          1001       1001                
  Lines        136472     136472                
================================================
+ Hits          75266      75324        +58     
+ Misses        55694      55651        -43     
+ Partials       5512       5497        -15     

@wlwilliamx
Copy link
Copy Markdown
Contributor Author

/retest

@lance6716
Copy link
Copy Markdown
Contributor

/check-issue-triage-complete

@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot Bot commented Oct 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: asddongmen, lance6716

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Oct 23, 2024
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot Bot commented Oct 23, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-23 04:49:42.13529743 +0000 UTC m=+412982.832088025: ☑️ agreed by lance6716.
  • 2024-10-23 08:21:21.616032421 +0000 UTC m=+425682.312823047: ☑️ agreed by asddongmen.

@ti-chi-bot ti-chi-bot Bot merged commit 60e2bfa into pingcap:master Oct 23, 2024
@wlwilliamx wlwilliamx deleted the fix/dm-import_v10x-test-tidb-int-change branch October 23, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/dm Issues or PRs related to DM. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dm: import_v10x Test Case Fails in DM CI Due to Recent Changes in TiDB

3 participants