Skip to content

[Improvement][Test] Remove powermock in dolphinscheduler-master module#12143

Merged
EricGao888 merged 1 commit intoapache:devfrom
EricGao888:Fix-12124
Sep 26, 2022
Merged

[Improvement][Test] Remove powermock in dolphinscheduler-master module#12143
EricGao888 merged 1 commit intoapache:devfrom
EricGao888:Fix-12124

Conversation

@EricGao888
Copy link
Copy Markdown
Member

@EricGao888 EricGao888 commented Sep 26, 2022

Purpose of the pull request

Brief change log

This PR did some code cleaning In dolphinscheduler-master module:

  • Removed powermock related code.
  • Removed redundant comments and useless test code.
  • Removed unnecessary stubbings.

Verify this pull request

  • Covered and verified by unit tests.

…comments, useless code and unnecessary stubbings
@EricGao888 EricGao888 self-assigned this Sep 26, 2022
@EricGao888 EricGao888 added improvement make more easy to user or prompt friendly test labels Sep 26, 2022
@github-actions github-actions bot added backend and removed test labels Sep 26, 2022
@EricGao888 EricGao888 added this to the 3.2.0 milestone Sep 26, 2022
@EricGao888 EricGao888 marked this pull request as ready for review September 26, 2022 07:19
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 26, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.04%. Comparing base (6eb1eb7) to head (4fce2a0).
⚠️ Report is 1682 commits behind head on dev.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #12143      +/-   ##
============================================
+ Coverage     38.69%   39.04%   +0.35%     
- Complexity     4010     4078      +68     
============================================
  Files          1001     1010       +9     
  Lines         37422    37713     +291     
  Branches       4262     4330      +68     
============================================
+ Hits          14480    14726     +246     
- Misses        21295    21299       +4     
- Partials       1647     1688      +41     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@EricGao888 EricGao888 merged commit cc82206 into apache:dev Sep 26, 2022
xdu-chenrj pushed a commit to xdu-chenrj/dolphinscheduler that referenced this pull request Oct 13, 2022
* Remove powermock related code in dolphinscheduler-master module
* Remove redundant comments, useless code and unnecessary stubbings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend improvement make more easy to user or prompt friendly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][Test] Remove Powermock in dolphinscheduler-master

3 participants