Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor, tests: move some test cases from ddl_test.go, split_table_test.go and write_test.go to integrationtest #47361

Merged
merged 5 commits into from
Oct 7, 2023

Conversation

SeaRise
Copy link
Contributor

@SeaRise SeaRise commented Sep 28, 2023

What problem does this PR solve?

Issue Number: ref #47076

Problem Summary:

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 28, 2023
@tiprow
Copy link

tiprow bot commented Sep 28, 2023

Hi @SeaRise. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

Instructions 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/test-infra repository.

@SeaRise SeaRise changed the title executor, tests: move some test cases from admin_test.go and foreign_key_test.go to integrationtest executor, tests: move some test cases from ddl_test.go and split_table_test.go to integrationtest Sep 28, 2023
@SeaRise SeaRise changed the title executor, tests: move some test cases from ddl_test.go and split_table_test.go to integrationtest wip: executor, tests: move some test cases from ddl_test.go and split_table_test.go to integrationtest Sep 28, 2023
@ti-chi-bot ti-chi-bot bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 28, 2023
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #47361 (2dc2358) into master (22e9be7) will increase coverage by 0.3974%.
Report is 9 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #47361        +/-   ##
================================================
+ Coverage   72.3296%   72.7270%   +0.3974%     
================================================
  Files          1350       1373        +23     
  Lines        400999     407301      +6302     
================================================
+ Hits         290041     296218      +6177     
- Misses        91759      92328       +569     
+ Partials      19199      18755       -444     
Flag Coverage Δ
integration 38.6877% <ø> (?)
unit 72.3175% <ø> (-0.0121%) ⬇️

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

Components Coverage Δ
dumpling 53.9913% <ø> (ø)
parser 84.7651% <ø> (ø)
br 48.7301% <ø> (-4.3639%) ⬇️

@hawkingrei
Copy link
Member

/retest

@SeaRise SeaRise changed the title wip: executor, tests: move some test cases from ddl_test.go and split_table_test.go to integrationtest executor, tests: move some test cases from ddl_test.go, split_table_test.go and write_test.go to integrationtest Sep 28, 2023
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 28, 2023
@SeaRise
Copy link
Contributor Author

SeaRise commented Sep 28, 2023

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 28, 2023
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 28, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Sep 28, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-28 13:14:22.837149512 +0000 UTC m=+107660.424259685: ☑️ agreed by Defined2014.
  • 2023-09-28 13:20:20.451198617 +0000 UTC m=+108018.038308757: ☑️ agreed by tiancaiamao.

@Defined2014
Copy link
Contributor

time="2023-09-28T21:30:30+08:00" level=error msg="run test [planner/core/integration] err: sql:select a from deci union ALL select b from deci;: failed to run query \n\"select a from deci union ALL select b from deci;\" \n around line 1909, \nwe need(160):\nselect a from deci union ALL select b from deci;\na\n1234567890.123456789012345678901234567890\n99999999999999999999999999999999999.999999999999999999999999999999\n\nbut got(160):\nselect a from deci union ALL select b from deci;\na\n99999999999999999999999999999999999.999999999999999999999999999999\n1234567890.123456789012345678901234567890\n\n"

@YangKeao Found an unstable tests, need add --sorted_result for this sql.

@SeaRise
Copy link
Contributor Author

SeaRise commented Oct 7, 2023

/test check-dev2

@tiprow
Copy link

tiprow bot commented Oct 7, 2023

@SeaRise: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/test check-dev2

Instructions 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/test-infra repository.

Copy link
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-chi-bot
Copy link

ti-chi-bot bot commented Oct 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Defined2014, hawkingrei, tiancaiamao, windtalker

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Defined2014,hawkingrei,tiancaiamao,windtalker]

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 merged commit 413a58f into pingcap:master Oct 7, 2023
6 checks passed
@SeaRise SeaRise deleted the move_some_tests3 branch October 7, 2023 01:55
@SeaRise SeaRise restored the move_some_tests3 branch October 7, 2023 01:56
@SeaRise SeaRise deleted the move_some_tests3 branch October 7, 2023 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants