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 49FCB200CAB for ; Sun, 18 Jun 2017 21:17:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 483EC160BF4; Sun, 18 Jun 2017 19:17:28 +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 7139A160BD1 for ; Sun, 18 Jun 2017 21:17:27 +0200 (CEST) Received: (qmail 74657 invoked by uid 500); 18 Jun 2017 19:17:26 -0000 Mailing-List: contact commits-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 commits@hc.apache.org Received: (qmail 74647 invoked by uid 99); 18 Jun 2017 19:17:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2017 19:17:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5CF9EE02B4; Sun, 18 Jun 2017 19:17:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: olegk@apache.org To: commits@hc.apache.org Date: Sun, 18 Jun 2017 19:17:24 -0000 Message-Id: <2e9a26bd85634ccca1fc98b0fab2e1ad@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/5] httpcomponents-core git commit: Changed non-blocking test client and server shutdown type from immediate to graceful (this is expected to fix intermittent test failures due to premature connection termination) archived-at: Sun, 18 Jun 2017 19:17:28 -0000 Repository: httpcomponents-core Updated Branches: refs/heads/master e5f75c9cc -> 876fa8636 Changed non-blocking test client and server shutdown type from immediate to graceful (this is expected to fix intermittent test failures due to premature connection termination) Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/2912b5a2 Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/2912b5a2 Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/2912b5a2 Branch: refs/heads/master Commit: 2912b5a2c0cc191bd34630cffbd86056da549c75 Parents: e5f75c9 Author: Oleg Kalnichevski Authored: Sat Jun 17 16:19:57 2017 +0200 Committer: Oleg Kalnichevski Committed: Sun Jun 18 18:13:25 2017 +0200 ---------------------------------------------------------------------- .../apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java | 4 ++-- .../hc/core5/testing/nio/Http2ProtocolNegotiationTest.java | 4 ++-- .../apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/2912b5a2/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java ---------------------------------------------------------------------- diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java index f0c7205..86bf875 100644 --- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java +++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1ServerAndRequesterTest.java @@ -140,7 +140,7 @@ public class Http1ServerAndRequesterTest { protected void after() { if (server != null) { try { - server.shutdown(ShutdownType.IMMEDIATE); + server.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = server.getExceptionLog(); server = null; if (!exceptionLog.isEmpty()) { @@ -175,7 +175,7 @@ public class Http1ServerAndRequesterTest { protected void after() { if (requester != null) { try { - requester.shutdown(ShutdownType.IMMEDIATE); + requester.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = requester.getExceptionLog(); requester = null; if (!exceptionLog.isEmpty()) { http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/2912b5a2/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ProtocolNegotiationTest.java ---------------------------------------------------------------------- diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ProtocolNegotiationTest.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ProtocolNegotiationTest.java index 950490e..a549aa6 100644 --- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ProtocolNegotiationTest.java +++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ProtocolNegotiationTest.java @@ -112,7 +112,7 @@ public class Http2ProtocolNegotiationTest { protected void after() { if (server != null) { try { - server.shutdown(ShutdownType.IMMEDIATE); + server.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = server.getExceptionLog(); server = null; if (!exceptionLog.isEmpty()) { @@ -149,7 +149,7 @@ public class Http2ProtocolNegotiationTest { protected void after() { if (requester != null) { try { - requester.shutdown(ShutdownType.IMMEDIATE); + requester.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = requester.getExceptionLog(); requester = null; if (!exceptionLog.isEmpty()) { http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/2912b5a2/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java ---------------------------------------------------------------------- diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java index bfbceae..35a79a8 100644 --- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java +++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http2ServerAndRequesterTest.java @@ -115,7 +115,7 @@ public class Http2ServerAndRequesterTest { protected void after() { if (server != null) { try { - server.shutdown(ShutdownType.IMMEDIATE); + server.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = server.getExceptionLog(); server = null; if (!exceptionLog.isEmpty()) { @@ -151,7 +151,7 @@ public class Http2ServerAndRequesterTest { protected void after() { if (requester != null) { try { - requester.shutdown(ShutdownType.IMMEDIATE); + requester.shutdown(ShutdownType.GRACEFUL); final List exceptionLog = requester.getExceptionLog(); requester = null; if (!exceptionLog.isEmpty()) {