Skip to content

[test-11432][HttpTask] Add unit tests to http task#11453

Merged
davidzollo merged 5 commits intoapache:devfrom
fangyinc:Test-11432
Aug 17, 2022
Merged

[test-11432][HttpTask] Add unit tests to http task#11453
davidzollo merged 5 commits intoapache:devfrom
fangyinc:Test-11432

Conversation

@fangyinc
Copy link
Contributor

@fangyinc fangyinc commented Aug 12, 2022

Purpose of the pull request

close #11432

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 Aug 12, 2022

Codecov Report

Merging #11453 (e8679eb) into dev (0558960) will increase coverage by 0.26%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #11453      +/-   ##
============================================
+ Coverage     39.36%   39.63%   +0.26%     
- Complexity     4633     4671      +38     
============================================
  Files           987      987              
  Lines         37571    37571              
  Branches       4186     4187       +1     
============================================
+ Hits          14790    14890     +100     
+ Misses        21229    21119     -110     
- Partials       1552     1562      +10     
Impacted Files Coverage Δ
...phinscheduler/plugin/task/http/HttpParameters.java 100.00% <0.00%> (+4.00%) ⬆️
...olphinscheduler/plugin/task/http/HttpProperty.java 44.00% <0.00%> (+44.00%) ⬆️
...he/dolphinscheduler/plugin/task/http/HttpTask.java 80.73% <0.00%> (+80.73%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@SbloodyS SbloodyS added the test label Aug 12, 2022
@fangyinc fangyinc requested a review from EricGao888 August 12, 2022 10:01
@github-actions github-actions bot removed the test label Aug 13, 2022
@fangyinc fangyinc requested a review from caishunfeng August 13, 2022 11:52
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

25.0% 25.0% Coverage
0.0% 0.0% Duplication

@fangyinc
Copy link
Contributor Author

@EricGao888 @SbloodyS Can someone review the code, if there is any problem I will fix it~

@SbloodyS SbloodyS added this to the 3.0.1 milestone Aug 15, 2022
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

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
good job

@davidzollo davidzollo merged commit 11d74fd into apache:dev Aug 17, 2022
zhuxt2015 pushed a commit to zhuxt2015/dolphinscheduler that referenced this pull request Aug 21, 2022
* [test][HttpTask] Add unit tests to http task

* [test][HttpTask] fix http task test code format problem

* [test][HttpTask] fix http task test code replace http code to constants
@zhuangchong zhuangchong modified the milestones: 3.0.1, 3.1.0 Sep 15, 2022
xdu-chenrj pushed a commit to xdu-chenrj/dolphinscheduler that referenced this pull request Oct 13, 2022
* [test][HttpTask] Add unit tests to http task

* [test][HttpTask] fix http task test code format problem

* [test][HttpTask] fix http task test code replace http code to constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend first time contributor First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test][Http Task] Add unit tests to HttpTask

8 participants