You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "biyuhao (GitHub)" <gi...@apache.org> on 2019/01/24 08:22:21 UTC

[GitHub] [incubator-dubbo] biyuhao commented on pull request #3327: Fix random ut falling in DubboMonitorTest

Expected value should be the first parameter of `asertEquals`.
for example, this is current error message which `expected` value and `actual` value was swapped:
```
[ERROR] testCount  Time elapsed: 0.075 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
	at org.apache.dubbo.monitor.dubbo.DubboMonitorTest.testCount(DubboMonitorTest.java:116)
```
it should be:
"expected: <1> but was: <0>"

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