Skip to content

Port mutable test to delta-tree; Remove mutable test#3483

Merged
ti-chi-bot merged 20 commits intopingcap:masterfrom
JaySon-Huang:remove_mutable_test
Nov 25, 2021
Merged

Port mutable test to delta-tree; Remove mutable test#3483
ti-chi-bot merged 20 commits intopingcap:masterfrom
JaySon-Huang:remove_mutable_test

Conversation

@JaySon-Huang
Copy link
Contributor

@JaySon-Huang JaySon-Huang commented Nov 19, 2021

What problem does this PR solve?

Issue Number: a part of #3481, close #2717

Problem Summary: Remove outdated mutable-test files. Getting ready for removing *MergeTree family from TiFlash codebase.

What is changed and how it works?

What's Changed:

  • Remove tests/mutable-test/txn_mock/snapshot.test since it is duplicated with tests/delta-merge-test/raft/snapshot.test
  • Remove tests/mutable-test/txn_mock/region_merge.test since it is duplicated with tests/delta-merge-test/raft/region_merge.test
  • Remove tests/mutable-test/txn_mock/compact.test since it mainly focus on compaction MergeTree parts
  • Port other test cases into delta-merge-test
  • Remove mutable-test from CI
  • Remove related files for mutable-test

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch:

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

Release note

None

JaySon-Huang and others added 8 commits November 19, 2021 18:25
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Nov 19, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • fuzhe1989

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 19, 2021
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@JaySon-Huang
Copy link
Contributor Author

/run-all-tests

Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@sre-bot
Copy link
Collaborator

sre-bot commented Nov 19, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/120/cobertura/
(Coverage detail url is limited office network access)

lines: 35.5% (43333 out of 122168)
branches: 5.4% (65912 out of 1220015)

Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@ti-chi-bot ti-chi-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 19, 2021
@JaySon-Huang
Copy link
Contributor Author

/run-all-tests

@JaySon-Huang JaySon-Huang changed the title [WIP] Port mutable test to delta-tree; Remove mutable test Port mutable test to delta-tree; Remove mutable test Nov 19, 2021
@ti-chi-bot ti-chi-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 19, 2021
@JaySon-Huang JaySon-Huang added the type/code-quality-improvement PR that can improve the code quality label Nov 19, 2021
@sre-bot
Copy link
Collaborator

sre-bot commented Nov 19, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/121/cobertura/
(Coverage detail url is limited office network access)

lines: 35.5% (43337 out of 122168)
branches: 5.4% (65923 out of 1220015)

@solotzg
Copy link
Contributor

solotzg commented Nov 19, 2021

lgtm

Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@JaySon-Huang
Copy link
Contributor Author

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Nov 20, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/122/cobertura/
(Coverage detail url is limited office network access)

lines: 35.5% (43337 out of 122168)
branches: 5.4% (65906 out of 1220015)

Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@JaySon-Huang JaySon-Huang self-assigned this Nov 23, 2021
@JaySon-Huang
Copy link
Contributor Author

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Nov 23, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/131/cobertura/
(Coverage detail url is limited office network access)

lines: 35.5% (43334 out of 122168)
branches: 5.4% (65911 out of 1220015)

Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
Comment on lines -9 to -15
>> select i + f + d from test
┌─plus(plus(i, f), d)─┐
│ -0.5 │
└─────────────────────┘

>> alter table test add column d2 decimal(1, 1) default 0.050000001

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has been moved to ut "ConvertColumnTypeTest.GetDefaultValue"

@JaySon-Huang
Copy link
Contributor Author

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Nov 23, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/132/cobertura/
(Coverage detail url is limited office network access)

lines: 35.6% (43459 out of 122207)
branches: 5.4% (66040 out of 1220255)

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 23, 2021
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
@JaySon-Huang
Copy link
Contributor Author

/run-integration-test

@JaySon-Huang
Copy link
Contributor Author

/rebuild

1 similar comment
@purelind
Copy link
Contributor

/rebuild

@JaySon-Huang
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Details

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 ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: f37459f

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 25, 2021
@sre-bot
Copy link
Collaborator

sre-bot commented Nov 25, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/153/cobertura/
(Coverage detail url is limited office network access)

lines: 35.6% (43453 out of 122207)
branches: 5.4% (66026 out of 1220255)

@fuzhe1989
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

@fuzhe1989: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Details

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 ti-community-infra/tichi repository.

@sre-bot
Copy link
Collaborator

sre-bot commented Nov 25, 2021

Coverage detail: https://ci-internal.pingcap.net/job/tics_ghpr_unit_test/162/cobertura/
(Coverage detail url is limited office network access)

lines: 35.6% (43457 out of 122207)
branches: 5.4% (66027 out of 1220255)

@ti-chi-bot ti-chi-bot merged commit fb1e127 into pingcap:master Nov 25, 2021
@JaySon-Huang JaySon-Huang deleted the remove_mutable_test branch November 25, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. type/code-quality-improvement PR that can improve the code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

migrate mutable-test into delta-merge-test

6 participants