Skip to content

Fail UT about DubboMonitorTest#testCount #3365

Closed

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!

Activity

  1. CrazyHZM commented on Jan 28, 2019

    @CrazyHZM
    MemberAuthor

    I am compiling errors when running this UT

    Error:(38, 46) java: 找不到符号 符号: 类 ZookeeperTransporter 位置: 类 org.apache.dubbo.metadata.store.test.JTestMetadataReport4Test
    Error:(29, 13) java: 找不到符号 符号: 类 ZookeeperTransporter 位置: 类 org.apache.dubbo.metadata.store.test.JTestMetadataReportFactory4Test

  2. added a commit that references this issue on Jan 28, 2019
    af5ec55
  3. added a commit that references this issue on Jan 28, 2019
    95fc75a
  4. added this to the 2.7.1 milestone on Mar 4, 2019
  5. added a commit that references this issue on Mar 26, 2019
    897b80d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions