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

[Improvement-15692][task-datasync] rewrite the mockito test file for DatasyncTaskTest. #15693

Merged
merged 4 commits into from Mar 11, 2024

Conversation

Tianqi-Dotes
Copy link
Member

@Tianqi-Dotes Tianqi-Dotes commented Mar 11, 2024

Purpose of the pull request

Due to the previous test code having defects and misusing the mockito, rewrite the mockito test file for the task-datasync.

Brief change log

Rewrite the mockito test file for the task-datasync.

Verify this pull request

I have tested locally.

@Tianqi-Dotes Tianqi-Dotes changed the title 15692 rewrite the mockito test file for DatasyncTaskTest. [Improvement-15692][task-datasync] rewrite the mockito test file for DatasyncTaskTest. Mar 11, 2024
@Tianqi-Dotes
Copy link
Member Author

Tianqi-Dotes commented Mar 11, 2024

linked to #15692
close #15692

@Tianqi-Dotes Tianqi-Dotes self-assigned this Mar 11, 2024
@Tianqi-Dotes Tianqi-Dotes added the improvement make more easy to user or prompt friendly label Mar 11, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.04%. Comparing base (af57812) to head (7a95251).

❗ Current head 7a95251 differs from pull request most recent head 382025a. Consider uploading reports for the commit 382025a to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15693      +/-   ##
============================================
+ Coverage     38.96%   39.04%   +0.08%     
- Complexity     4840     4844       +4     
============================================
  Files          1316     1316              
  Lines         45010    45010              
  Branches       4818     4818              
============================================
+ Hits          17539    17576      +37     
+ Misses        25575    25527      -48     
- Partials       1896     1907      +11     

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

Copy link

sonarcloud bot commented Mar 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@caishunfeng
Copy link
Contributor

Hi @Tianqi-Dotes can you add some description for why need to rewrite this UT?

Copy link
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

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

LGTM

@caishunfeng caishunfeng merged commit cd63069 into apache:dev Mar 11, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.2.2 backend improvement make more easy to user or prompt friendly ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants