From f22567c4e647bf161901fb266a89c8fde061cfa3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 15 Sep 2017 12:36:26 +0200 Subject: [PATCH] Try to workaround test failures on ARM --- httpcomponents-core.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 4184689..41de8ff 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,13 +1,9 @@ -# READ BEFORE UPDATING: After updating this package to new upstream -# version eclipse-ecf should be rebuilt. For more info, see: -# https://fedoraproject.org/wiki/SIGs/Java#Package_Update.2FRebuild_Notes - %global base_name httpcomponents Name: httpcomponents-core Summary: Set of low level Java HTTP transport components for HTTP services Version: 4.4.6 -Release: 4%{?dist} +Release: 5%{?dist} License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz @@ -44,6 +40,10 @@ Summary: API documentation for %{name} %prep %setup -q +# Random test failures on ARM -- 100 ms sleep is not eneough on this +# very performant arch, lets make it 10 s +sed -i '/Thread.sleep/s/100/10000/' httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java + %pom_remove_plugin :maven-checkstyle-plugin %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :maven-source-plugin @@ -89,6 +89,9 @@ done %doc LICENSE.txt NOTICE.txt %changelog +* Fri Sep 15 2017 Mikolaj Izdebski - 4.4.6-5 +- Try to workaround test failures on ARM + * Wed Jul 26 2017 Fedora Release Engineering - 4.4.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild