Try to workaround test failures on ARM

This commit is contained in:
Mikolaj Izdebski 2017-09-15 12:36:26 +02:00
parent 650c57f0e1
commit f22567c4e6

View File

@ -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 %global base_name httpcomponents
Name: httpcomponents-core Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.4.6 Version: 4.4.6
Release: 4%{?dist} Release: 5%{?dist}
License: ASL 2.0 License: ASL 2.0
URL: http://hc.apache.org/ URL: http://hc.apache.org/
Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz 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 %prep
%setup -q %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 :maven-checkstyle-plugin
%pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :maven-source-plugin %pom_remove_plugin :maven-source-plugin
@ -89,6 +89,9 @@ done
%doc LICENSE.txt NOTICE.txt %doc LICENSE.txt NOTICE.txt
%changelog %changelog
* Fri Sep 15 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.6-5
- Try to workaround test failures on ARM
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.6-4 * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild