Ignore test by renaming test method, JUnit 3.x tests can't use annotations

This commit is contained in:
Mikolaj Izdebski 2016-01-04 12:21:58 +01:00
parent 816c4fe805
commit d992c40d4c

View File

@ -42,7 +42,7 @@ rm src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
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)
sed -i 's/testFeb29IfLeapYear/ignored_&/' $(find -name FTPTimestampParserImplTest.java)
%mvn_file : %{short_name} %{name}
%mvn_alias : org.apache.commons:%{short_name}