Fix failing tests
This commit is contained in:
parent
c000d7b83d
commit
92a0014f85
BIN
0001-Re-generated-expired-test-certificates.patch
Normal file
BIN
0001-Re-generated-expired-test-certificates.patch
Normal file
Binary file not shown.
@ -1,10 +1,13 @@
|
||||
Name: httpcomponents-core
|
||||
Summary: Set of low level Java HTTP transport components for HTTP services
|
||||
Version: 4.4.10
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?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
|
||||
# Expired test certificates. Backported from upstream commit 8caeb927a.
|
||||
Patch0: 0001-Re-generated-expired-test-certificates.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
@ -40,6 +43,8 @@ Summary: API documentation for %{name}
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
# Random test failures on ARM -- 100 ms sleep is not eneough on this
|
||||
# very performant arch, lets make it 2 s
|
||||
sed -i '/Thread.sleep/s/100/2000/' httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java
|
||||
@ -91,6 +96,9 @@ done
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Jul 23 2018 Michael Simacek <msimacek@redhat.com> - 4.4.10-3
|
||||
- Fix failing tests
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user