Add workaround for suprious test failure (NET-586)

This commit is contained in:
Mikolaj Izdebski 2016-01-04 11:55:02 +01:00
parent 6fc16970de
commit 816c4fe805

View File

@ -4,7 +4,7 @@
Name: apache-%{short_name}
Version: 3.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Internet protocol suite Java library
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/
@ -40,6 +40,9 @@ sed -i 's/\r//' NOTICE.txt LICENSE.txt README RELEASE-NOTES.txt
rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
# Fails in Koji with "Address already in use"
rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
# Workaround for suprious test failure (NET-586)
# Reported upstream: https://issues.apache.org/jira/browse/NET-586
sed -i '/testFeb29IfLeapYear/s/./@org.junit.Ignore/' $(find -name FTPTimestampParserImplTest.java)
%mvn_file : %{short_name} %{name}
%mvn_alias : org.apache.commons:%{short_name}
@ -58,6 +61,9 @@ rm src/test/java/org/apache/commons/net/tftp/TFTPServerPathTest.java
%doc LICENSE.txt NOTICE.txt
%changelog
* Mon Jan 4 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-2
- Add workaround for suprious test failure (NET-586)
* Fri Nov 27 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4-1
- Update to upstream version 3.4