Skip to content

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

Merged
beiwei30 merged 6 commits intoapache:masterfrom
beiwei30:qos-unit-test
Jun 28, 2018
Merged

[dubbo-1689]: Enhance the test coverage part-10 : dubbo-plugin module#2001
beiwei30 merged 6 commits intoapache:masterfrom
beiwei30:qos-unit-test

Conversation

@beiwei30
Copy link
Copy Markdown
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/LocalHostPermitHandlerTest.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/server/handler/QosProcessHandlerTest.java
dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/server/handler/TelnetProcessHandlerTest.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
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@             Coverage Diff             @@
##             master   #2001      +/-   ##
===========================================
+ Coverage     50.98%   51.1%   +0.12%     
- Complexity     4775    4786      +11     
===========================================
  Files           562     562              
  Lines         25218   25218              
  Branches       4449    4449              
===========================================
+ Hits          12857   12888      +31     
+ Misses        10431   10392      -39     
- Partials       1930    1938       +8
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> (ø) ⬇️
...onfig/spring/extension/SpringExtensionFactory.java 73.07% <0%> (-11.54%) 8% <0%> (ø)
...he/dubbo/remoting/transport/netty/NettyClient.java 72.88% <0%> (-8.48%) 12% <0%> (-1%)
.../dubbo/remoting/transport/netty4/NettyChannel.java 60% <0%> (-6.25%) 21% <0%> (-2%)
...e/dubbo/remoting/transport/netty4/NettyServer.java 72.13% <0%> (-3.28%) 9% <0%> (-1%)
...bo/remoting/transport/netty/NettyCodecAdapter.java 53.12% <0%> (-1.57%) 3% <0%> (ø)
...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java 89.71% <0%> (+1.86%) 15% <0%> (ø) ⬇️
...he/dubbo/qos/server/handler/QosProcessHandler.java 64.51% <0%> (+64.51%) 6% <0%> (+6%) ⬆️
...bbo/qos/server/handler/LocalHostPermitHandler.java 77.77% <0%> (+77.77%) 2% <0%> (+2%) ⬆️
... and 1 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 534fd24...4ec577c. Read the comment docs.

@beiwei30 beiwei30 merged commit a1b301d into apache:master Jun 28, 2018
@beiwei30 beiwei30 deleted the qos-unit-test branch June 28, 2018 08:18
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