Disable tests failing due to glibc rhbz#2033020
This commit is contained in:
parent
6af10b4210
commit
c933e2f440
@ -1,6 +1,6 @@
|
||||
Name: jakarta-mail
|
||||
Version: 1.6.5
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Jakarta Mail API
|
||||
License: EPL-2.0 or GPLv2 with exceptions
|
||||
URL: https://github.com/eclipse-ee4j/mail
|
||||
@ -69,7 +69,16 @@ sed -i "/-Werror/d" mail/pom.xml
|
||||
|
||||
%build
|
||||
# skip javadoc build due to https://github.com/fedora-java/xmvn/issues/58
|
||||
%mvn_build -j
|
||||
#
|
||||
# XXX 2022-01-05 disable tests for now due to issue with DNS resolution caused by glibc change.
|
||||
# Tests fail with: java.net.UnknownHostException: myhostname: Temporary failure in name resolution
|
||||
# Simple reproducer: echo 'java.net.InetAddress.getLocalHost();' | jshell -s
|
||||
# Until glibc-2.34.9000-27.fc36 jakarta-mail tests pass.
|
||||
# Starting with glibc-2.34.9000-28.fc36 jakarta-mail tests fail.
|
||||
# Related bugs:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2023741
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2033020
|
||||
%mvn_build -j -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
@ -79,6 +88,9 @@ sed -i "/-Werror/d" mail/pom.xml
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Wed Jan 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-6
|
||||
- Disable tests failing due to glibc rhbz#2033020
|
||||
|
||||
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-5
|
||||
- Fix build with OpenJDK 17
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user