Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 317F5200C8C for ; Tue, 6 Jun 2017 17:15:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 302CD160BC3; Tue, 6 Jun 2017 15:15:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7CFDA160BD3 for ; Tue, 6 Jun 2017 17:15:23 +0200 (CEST) Received: (qmail 97914 invoked by uid 500); 6 Jun 2017 15:15:22 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 97903 invoked by uid 99); 6 Jun 2017 15:15:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2017 15:15:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 55D55C0D47 for ; Tue, 6 Jun 2017 15:15:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.21 X-Spam-Level: X-Spam-Status: No, score=-99.21 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id usLTJv4uIDEH for ; Tue, 6 Jun 2017 15:15:21 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 17E355FC57 for ; Tue, 6 Jun 2017 15:15:21 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4D330E06C4 for ; Tue, 6 Jun 2017 15:15:20 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B18BA21E15 for ; Tue, 6 Jun 2017 15:15:18 +0000 (UTC) Date: Tue, 6 Jun 2017 15:15:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-1208) Do not use reconnect-atempts=-1 in tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Jun 2017 15:15:24 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039061#comment-16039061 ] ASF GitHub Bot commented on ARTEMIS-1208: ----------------------------------------- GitHub user dudaerich opened a pull request: https://github.com/apache/activemq-artemis/pull/1318 ARTEMIS-1208 Do not use reconnect-atempts=-1 in tests If a connection to a broker is configured with parameter reconnect-atempts=-1 and something goes wrong with the broker, the test may hang indefinitely. It happens in cases where the session is created in main test thread. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-1208 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/1318.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1318 ---- commit 6b1be4a3b9f4253fc6608513db4e6b7f71dc4b39 Author: Erich Duda Date: 2017-06-02T13:05:29Z ARTEMIS-1208 Do not use reconnect-atempts=-1 in tests ---- > Do not use reconnect-atempts=-1 in tests > ---------------------------------------- > > Key: ARTEMIS-1208 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1208 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.5.5, 2.1.0 > Reporter: Erich Duda > > If a connection to a broker is configured with parameter reconnect-atempts=-1 and something goes wrong with the broker, the test may hang indefinitely. It happens in cases where the session is created in main test thread. -- This message was sent by Atlassian JIRA (v6.3.15#6346)