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 39078200BDF for ; Sun, 18 Dec 2016 19:39:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 27F2E160B30; Sun, 18 Dec 2016 18:39:51 +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 70DE0160AF6 for ; Sun, 18 Dec 2016 19:39:50 +0100 (CET) Received: (qmail 84609 invoked by uid 500); 18 Dec 2016 18:39:49 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 84593 invoked by uid 99); 18 Dec 2016 18:39:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Dec 2016 18:39:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 895471A032B for ; Sun, 18 Dec 2016 18:39:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.998 X-Spam-Level: * X-Spam-Status: No, score=1.998 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hammant-org.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JRLGll3vhK_Z for ; Sun, 18 Dec 2016 18:39:46 +0000 (UTC) Received: from mail-wj0-f176.google.com (mail-wj0-f176.google.com [209.85.210.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 792C75F36E for ; Sun, 18 Dec 2016 18:39:46 +0000 (UTC) Received: by mail-wj0-f176.google.com with SMTP id xy5so132016198wjc.0 for ; Sun, 18 Dec 2016 10:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammant-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=3wo1UpwA3w7ZMQDedxa50MH/p9mmjntNRws9gD8v8yU=; b=nDbZ372k4e+TEAou82H6Sah1LRtvQRfyeYwAFhdRkF1ejQxPjUlbpDABcbbrUz/CO3 KHq3MJsm5ehPYvUzDyynSQm3nvej6MVECZ/lyPO3TcZHfw5MgosTqgR15aUnHEhU7x/9 OyWZ/l0qQXPNrPs+ex8hxTIHi90P2ZpGX9/SVfVZA3ozBsmJxtPBViXUoMNwhtny3gOK BK+WDrtAn+vb95sZll7rAQv1GimGougZKHE7OehXyrQnZdUsCYH1yHBVeBsqW962k/74 rtDZQyWTeCwfirQdK3kmTvTtOX5XZsm4DA16PKY4CtDn9Hde3WicDorYyjh3CQ3EjhPA diog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=3wo1UpwA3w7ZMQDedxa50MH/p9mmjntNRws9gD8v8yU=; b=qUR2LjyvA8HrxW0B+dej3s6UeqmUMwANUxM4+nxphjT3Vh8dNh8VJnPowYdOIf4Zmy oHTJxDJmsW9OXj3HCjzbCA626Sx6MOPAJCnsSmfA8i14bVUPwCk+rrVAhrgbR/YNYM1X b3jiYELzoQEyBWlyq+L3fyRQJT9RFEue5okGyMWqUjeqeSwgwwPw/rm+SlWE2R5BG89d RL532eVmXVkUwfmlWtdiGt7aSh+nBPqpZ1CGR1h+GfU4l3LhSkSq6PVXJVydtSkuHLG0 TS28eS5G6h8r5Yo+40Ofuw98sjJxFHihyvJRepWgkevQSe8ZgLVmDhGxLfSG2bbFvxah nETA== X-Gm-Message-State: AIkVDXKnH8Yq+AwTGhrFmadEPQIDpACIJ/UrI5oKuxvx97iNs+eUseFHO1/J+8KaVHFkOdU7zthjJ4iGtJuizw== X-Received: by 10.194.166.97 with SMTP id zf1mr6632488wjb.134.1482086378988; Sun, 18 Dec 2016 10:39:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.234.23 with HTTP; Sun, 18 Dec 2016 10:39:38 -0800 (PST) X-Originating-IP: [65.78.25.171] In-Reply-To: <1482074344.28099.7.camel@apache.org> References: <1481881988.32702.0.camel@apache.org> <1482074344.28099.7.camel@apache.org> From: Paul Hammant Date: Sun, 18 Dec 2016 13:39:38 -0500 Message-ID: Subject: Re: Integration test for do-not-retry? To: HttpComponents Project Content-Type: multipart/alternative; boundary=089e0122ef86257ce10543f32050 archived-at: Sun, 18 Dec 2016 18:39:51 -0000 --089e0122ef86257ce10543f32050 Content-Type: text/plain; charset=UTF-8 I'm sorry - we're missing each other in passing, Oleg. My OP was about disableAutomaticRetries(). On Sun, Dec 18, 2016 at 10:19 AM, Oleg Kalnichevski wrote: > On Sun, 2016-12-18 at 09:28 -0500, Paul Hammant wrote: > > > > > > https://github.com/apache/httpclient/blob/4.5.x/ > > > httpclient/src/test/java/org/apache/http/impl/execchain/ > TestRetryExec.java > > > > > > > > Thanks Oleg. It doesn't exercise disableAutomaticRetries() though (not > even > > in passing). You can swap the body of that method for System.exit(10); > and > > all the tests still pass. > > > > - Paul > > Why should it? It is a unit test for RetryExec. > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org > For additional commands, e-mail: dev-help@hc.apache.org > > --089e0122ef86257ce10543f32050--