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

[dubbo-1689]: Enhance the test coverage part-10 : dubbo-plugin module #1993

Merged
merged 5 commits into from
Jun 27, 2018
Merged

[dubbo-1689]: Enhance the test coverage part-10 : dubbo-plugin module #1993

merged 5 commits into from
Jun 27, 2018

Conversation

beiwei30
Copy link
Member

What is the purpose of the change

issue#1689: Enhance the test coverage part-10 : dubbo-plugin module

Brief changelog

dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/server/handler/HttpProcessHandlerTest.java

Verifying this change

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • If this contribution is large, please follow the Software Donation Guide.

@codecov-io
Copy link

Codecov Report

Merging #1993 into master will increase coverage by 0.12%.
The diff coverage is 37.5%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1993      +/-   ##
============================================
+ Coverage     50.83%   50.96%   +0.12%     
- Complexity     4767     4774       +7     
============================================
  Files           562      562              
  Lines         25218    25218              
  Branches       4449     4449              
============================================
+ Hits          12820    12852      +32     
+ Misses        10466    10433      -33     
- Partials       1932     1933       +1
Impacted Files Coverage Δ Complexity Δ
.../apache/dubbo/qos/protocol/QosProtocolWrapper.java 54.28% <20%> (ø) 6 <0> (ø) ⬇️
.../main/java/org/apache/dubbo/qos/server/Server.java 72.09% <66.66%> (ø) 10 <2> (ø) ⬇️
...e/dubbo/remoting/transport/netty/NettyChannel.java 57.5% <0%> (-8.75%) 19% <0%> (-2%)
...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java 41.66% <0%> (-8.34%) 3% <0%> (ø)
...org/apache/dubbo/rpc/filter/ActiveLimitFilter.java 83.33% <0%> (-5.56%) 6% <0%> (-1%)
...he/dubbo/remoting/transport/netty/NettyServer.java 67.85% <0%> (-3.58%) 8% <0%> (-1%)
...bo/remoting/transport/netty/NettyCodecAdapter.java 53.12% <0%> (-1.57%) 3% <0%> (ø)
.../dubbo/remoting/transport/netty4/NettyChannel.java 66.25% <0%> (+1.25%) 23% <0%> (+1%) ⬆️
...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java 89.71% <0%> (+1.86%) 15% <0%> (ø) ⬇️
.../dubbo/qos/command/decoder/HttpCommandDecoder.java 73.52% <0%> (+2.94%) 6% <0%> (+1%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a48fac...f775980. Read the comment docs.

@beiwei30 beiwei30 merged commit 534fd24 into apache:master Jun 27, 2018
@beiwei30 beiwei30 deleted the qos-unit-test branch June 27, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants