From 816c4fe805ad59b0674015115a80fdd56001f1b8 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 4 Jan 2016 11:55:02 +0100 Subject: [PATCH] Add workaround for suprious test failure (NET-586) --- apache-commons-net.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apache-commons-net.spec b/apache-commons-net.spec index 579a5f2..51e8f9e 100644 --- a/apache-commons-net.spec +++ b/apache-commons-net.spec @@ -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 - 3.4-2 +- Add workaround for suprious test failure (NET-586) + * Fri Nov 27 2015 Mikolaj Izdebski - 3.4-1 - Update to upstream version 3.4