You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "CrazyHZM (GitHub)" <gi...@apache.org> on 2019/01/28 03:15:35 UTC

[GitHub] [incubator-dubbo] CrazyHZM opened issue #3365: Fail UT about DubboMonitorTest#testCount

- [ ] I have searched the [issues](https://github.com/apache/incubator-dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) 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


`[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 s - in org.apache.dubbo.monitor.dubbo.StatisticsTest
[INFO] Running org.apache.dubbo.monitor.dubbo.DubboMonitorFactoryTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.919 s - in org.apache.dubbo.monitor.dubbo.DubboMonitorFactoryTest
[INFO] Running org.apache.dubbo.monitor.dubbo.DubboMonitorTest
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.028 s <<< FAILURE! - in org.apache.dubbo.monitor.dubbo.DubboMonitorTest
[ERROR] 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!
```


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] CrazyHZM commented on issue #3365: Fail UT about DubboMonitorTest#testCount

Posted by "CrazyHZM (GitHub)" <gi...@apache.org>.
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`

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] beiwei30 closed issue #3365: Fail UT about DubboMonitorTest#testCount

Posted by "beiwei30 (GitHub)" <gi...@apache.org>.
[ issue closed by beiwei30 ]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3365 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org