[ https://issues.apache.org/jira/browse/ARTEMIS-4355?focusedWorklogId=871865&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-871865 ]
ASF GitHub Bot logged work on ARTEMIS-4355: ------------------------------------------- Author: ASF GitHub Bot Created on: 19/Jul/23 18:34 Start Date: 19/Jul/23 18:34 Worklog Time Spent: 10m Work Description: amarkevich commented on code in PR #4545: URL: https://github.com/apache/activemq-artemis/pull/4545#discussion_r1268517495 ########## tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java: ########## @@ -158,24 +156,6 @@ protected static final void recreateBrokerDirectory(final String homeInstance) { recreateDirectory(homeInstance + "/log"); } - - public boolean waitForServerToStart(String uri, String username, String password, long timeout) throws InterruptedException { - long realTimeout = System.currentTimeMillis() + timeout; - while (System.currentTimeMillis() < realTimeout) { - try (ActiveMQConnectionFactory cf = ActiveMQJMSClient.createConnectionFactory(uri, null)) { - cf.createConnection(username, password).close(); - System.out.println("server " + uri + " started"); - } catch (Exception e) { - System.out.println("awaiting server " + uri + " start at "); - Thread.sleep(500); - continue; - } - return true; - } - - return false; - } - Review Comment: moved to additional PR Issue Time Tracking ------------------- Worklog Id: (was: 871865) Time Spent: 4h (was: 3h 50m) > Update Сurator to 5.5.0; Zookeeper 3.7.1 > ---------------------------------------- > > Key: ARTEMIS-4355 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4355 > Project: ActiveMQ Artemis > Issue Type: Dependency upgrade > Components: clustering > Affects Versions: 2.29.0 > Reporter: Alexey Markevich > Priority: Minor > Time Spent: 4h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.10#820010)