Skip to content

Fail UT about DubboMonitorTest#testCount #3365

@CrazyHZM

Description

@CrazyHZM
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.0
  • Operating System version: xxx
  • Java version:

Steps to reproduce this issue

I merged the code about #3327, but still UT failed.

Travis CI failed with the following log
https://api.travis-ci.org/v3/job/484984836/log.txt

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

CI pass

Actual Result

CI fail

[�[1;34mINFO�[m] �[1;32mTests run: �[0;1;32m2�[m, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 s - in org.apache.dubbo.monitor.dubbo.�[1mStatisticsTest�[m
[�[1;34mINFO�[m] Running org.apache.dubbo.monitor.dubbo.�[1mDubboMonitorFactoryTest�[m
[�[1;34mINFO�[m] �[1;32mTests run: �[0;1;32m1�[m, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.919 s - in org.apache.dubbo.monitor.dubbo.�[1mDubboMonitorFactoryTest�[m
[�[1;34mINFO�[m] Running org.apache.dubbo.monitor.dubbo.�[1mDubboMonitorTest�[m
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m5�[m, �[1;31mFailures: �[0;1;31m1�[m, Errors: 0, Skipped: 0, Time elapsed: 1.028 s�[1;31m <<< FAILURE!�[m - in org.apache.dubbo.monitor.dubbo.�[1mDubboMonitorTest�[m
[�[1;31mERROR�[m] testCount  Time elapsed: 0.043 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.apache.dubbo.monitor.dubbo.DubboMonitorTest.testCount(DubboMonitorTest.java:117)

If there is an exception, please attach the exception trace:

Just put your stack trace here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions