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

test: add Stdout to TestReloadLabel #8427

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Conversation

okJiang
Copy link
Member

@okJiang okJiang commented Jul 22, 2024

What problem does this PR solve?

Issue Number: Ref #8389 (comment)

What is changed and how does it work?

Check List

Tests

complete test

Release note

None.

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 22, 2024
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.32%. Comparing base (8de0412) to head (6228c1e).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8427      +/-   ##
==========================================
+ Coverage   77.26%   77.32%   +0.05%     
==========================================
  Files         471      471              
  Lines       61907    61907              
==========================================
+ Hits        47833    47868      +35     
+ Misses      10487    10456      -31     
+ Partials     3587     3583       -4     
Flag Coverage Δ
unittests 77.32% <ø> (+0.05%) ⬆️

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

@@ -26,6 +27,8 @@ import (
func restartTiUP() {
log.Info("start to restart TiUP")
cmd := exec.Command("make", "deploy")
cmd.Stdout = os.Stdout
Copy link
Member

Choose a reason for hiding this comment

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

What is the current output?

Copy link
Member Author

Choose a reason for hiding this comment

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

exec.Command creates a child process, so it will output on the child process's terminal.

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Jul 23, 2024
Copy link
Contributor

ti-chi-bot bot commented Jul 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: HuSharp, rleungx

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:

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 Jul 23, 2024
Copy link
Contributor

ti-chi-bot bot commented Jul 23, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-07-23 02:19:48.87538506 +0000 UTC m=+925210.866326531: ☑️ agreed by HuSharp.
  • 2024-07-23 02:33:33.339977212 +0000 UTC m=+926035.330918682: ☑️ agreed by rleungx.

@ti-chi-bot ti-chi-bot bot merged commit 624b6f3 into tikv:master Jul 23, 2024
21 checks passed
@okJiang okJiang deleted the fix-8389 branch July 23, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. 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.

3 participants