[ https://issues.apache.org/jira/browse/ARTEMIS-4384?focusedWorklogId=875853&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-875853 ]
ASF GitHub Bot logged work on ARTEMIS-4384: ------------------------------------------- Author: ASF GitHub Bot Created on: 11/Aug/23 17:10 Start Date: 11/Aug/23 17:10 Worklog Time Spent: 10m Work Description: clebertsuconic commented on code in PR #4574: URL: https://github.com/apache/activemq-artemis/pull/4574#discussion_r1291602392 ########## tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java: ########## @@ -257,6 +257,13 @@ public void testSecurityCacheSizes() throws Exception { Wait.assertEquals(usingCore() ? 8 : 1, () -> serverControl.getAuthorizationCacheSize()); } + @Test + public void testCurrentTime() throws Exception { + long time = System.currentTimeMillis(); + ActiveMQServerControl serverControl = createManagementControl(); + Assert.assertTrue(serverControl.getCurrentTimeMillis() >= time); Review Comment: I wouldn't check for a delta. As the operation should return the current time. The second call must be >=. Issue Time Tracking ------------------- Worklog Id: (was: 875853) Time Spent: 1h 10m (was: 1h) > CLI method to verify topology on all the nodes (cluster verify) > --------------------------------------------------------------- > > Key: ARTEMIS-4384 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4384 > Project: ActiveMQ Artemis > Issue Type: New Feature > Affects Versions: 2.30.0 > Reporter: Clebert Suconic > Assignee: Clebert Suconic > Priority: Major > Fix For: 2.31.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > This CLI method will download the topology of a server, and connect to all > the individual nodes to verify their topology. -- This message was sent by Atlassian Jira (v8.20.10#820010)