Skip to content

FIX segment ut using same tmp dir#2415

Merged
ti-srebot merged 10 commits intopingcap:masterfrom
jiaqizho:fix-segment-ut
Jul 20, 2021
Merged

FIX segment ut using same tmp dir#2415
ti-srebot merged 10 commits intopingcap:masterfrom
jiaqizho:fix-segment-ut

Conversation

@jiaqizho
Copy link
Contributor

Signed-off-by: jiaqizho zhoujiaqi@pingcap.com

What problem does this PR solve?

Issue Number: close #2393

Problem Summary:

What is changed and how it works?

Proposal: split segment test case in different tmp dir, and cleanup after env down.

What's Changed:

Related changes

None

Check List

Tests

  • Unit test

Side effects

Release note

Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
jiaqizho added 2 commits July 16, 2021 15:42
Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
Signed-off-by: jiaqizho <zhoujiaqi@pingcap.com>
Copy link
Contributor

@SchrodingerZhu SchrodingerZhu left a comment

Choose a reason for hiding this comment

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

LGTM. but This PR can also remove the extra checks in the GC routine and replace it with an assertion? cc @JaySon-Huang

@pingcap pingcap deleted a comment from ti-srebot Jul 19, 2021
@jiaqizho
Copy link
Contributor Author

/run-all-tests

@purelind
Copy link
Contributor

/rebuild

@jiaqizho
Copy link
Contributor Author

/run-all-tests

Copy link
Contributor

@JaySon-Huang JaySon-Huang 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

Copy link
Contributor

@JaySon-Huang JaySon-Huang 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-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 20, 2021
@JaySon-Huang
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 20, 2021
@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 566e8fe into pingcap:master Jul 20, 2021
@JaySon-Huang JaySon-Huang deleted the fix-segment-ut branch July 20, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in unit tests

5 participants