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

[Bug] Close SSH session after remote shell finish #15348

Merged
merged 2 commits into from
Dec 25, 2023

Conversation

ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Dec 21, 2023

Purpose of the pull request

Fix remote ssh will cause thread leak.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b73194b) 37.80% compared to head (d64b677) 37.81%.

❗ Current head d64b677 differs from pull request most recent head a0fe61f. Consider uploading reports for the commit a0fe61f to get more accurate results

Files Patch % Lines
...lphinscheduler/plugin/datasource/ssh/SSHUtils.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##                dev   #15348   +/-   ##
=========================================
  Coverage     37.80%   37.81%           
  Complexity     4681     4681           
=========================================
  Files          1304     1304           
  Lines         44933    44934    +1     
  Branches       4811     4811           
=========================================
+ Hits          16989    16990    +1     
  Misses        26095    26095           
  Partials       1849     1849           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addSSHRetry branch 2 times, most recently from ff71d8c to be99324 Compare December 21, 2023 11:04
@ruanwenjun ruanwenjun added the bug Something isn't working label Dec 21, 2023
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addSSHRetry branch 3 times, most recently from c295794 to c54b15c Compare December 23, 2023 14:53
Copy link
Contributor

@davidzollo davidzollo left a comment

Choose a reason for hiding this comment

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

+1
LGTM

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addSSHRetry branch from 7f62ef6 to a0fe61f Compare December 25, 2023 02:01
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

0.0% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@EricGao888 EricGao888 merged commit 9212531 into apache:dev Dec 25, 2023
51 of 52 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_addSSHRetry branch January 6, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants