kaisun2000 opened a new issue #1280:
URL: https://github.com/apache/helix/issues/1280
LOG:
> 2020-08-14T23:50:43.0368859Z [ERROR]
TestClusterStatusMonitorLifecycle.testClusterStatusMonitorLifecycle:293
expected:<true> but was:<false>
>2020-08-14T23:50:42.7829002Z [ERROR]
testClusterStatusMonitorLifecycle(org.apache.helix.monitoring.TestClusterStatusMonitorLifecycle)
Time elapsed: 6.505 s <<< FAILURE!
2020-08-14T23:50:42.7829267Z java.lang.AssertionError: expected:<true> but
was:<false>
2020-08-14T23:50:42.7829704Z at
org.apache.helix.monitoring.TestClusterStatusMonitorLifecycle.testClusterStatusMonitorLifecycle(TestClusterStatusMonitorLifecycle.java:293)
code:
Should use TestHelper.DEFAULT_TIMEOUT, not it 60sec.
Examine all TestHelper.verify(), there is no downside to use a more
conservative value, or not?
```
Assert.assertTrue(TestHelper.verify(() ->
ManagementFactory.getPlatformMBeanServer()
.queryMBeans(new ObjectName("ClusterStatus:*"), exp2).isEmpty(),
3000));
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]