[ https://issues.apache.org/jira/browse/ARTEMIS-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974254#comment-14974254 ]
ASF GitHub Bot commented on ARTEMIS-277: ---------------------------------------- Github user dudaerich commented on the pull request: https://github.com/apache/activemq-artemis/pull/216#issuecomment-151149119 I modified the ClientStarter class so that it tries to connect to the server for 10 sec. If it does not succeed, it exits with non zero return code. > [Artemis Testsuite] IncompatibleVersionTest fails on slower machines > -------------------------------------------------------------------- > > Key: ARTEMIS-277 > URL: https://issues.apache.org/jira/browse/ARTEMIS-277 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Erich Duda > > Client cannot connect to the server. > {code} > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest:Exception > in thread "main" ActiveMQNotConnectedException[errorType=NOT_CONNECTED > message=AMQ119007: Cannot connect to server(s). Tried with all available > servers.] > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest: > at > org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:818) > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest: > at > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest$ClientStarter.perform(IncompatibleVersionTest.java:227) > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest: > at > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest.execute(IncompatibleVersionTest.java:251) > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest: > at > org.apache.activemq.artemis.tests.integration.client.IncompatibleVersionTest.main(IncompatibleVersionTest.java:241) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)