-1.
I got the unit test failure again:
Failed tests: testTailer(org.apache.commons.io.input.TailerTest):
fileNotFound should not be called expected:<0> but was:<1>
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.959
sec <<< FAILURE!
testTailer(org.apache.commons.io.input.TailerTest) Time elapsed:
0.925 sec <<< FAILURE!
junit.framework.AssertionFailedError: fileNotFound should not be
called expected:<0> but was:<1>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at org.apache.commons.io.input.TailerTest.testTailer(TailerTest.java:150)
OS X. Java 1.6.
It didn't repeat when I mvn test'd a second time.
I then ran 'ant test' and got:
BUILD FAILED
/Users/hen/Keep/OSS/apache/commons-proper/tmp/commons-io-2.1-src/build.xml:184:
Test org.apache.commons.io.input.ReaderInputStreamTest failed
Contents of report:
Testcase: warning took 0.003 sec
FAILED
No tests found in org.apache.commons.io.input.ReaderInputStreamTest
junit.framework.AssertionFailedError: No tests found in
org.apache.commons.io.input.ReaderInputStreamTest
Then I removed the target/ and reran mvn test. It worked again.
So:
a) Looks like the previous unit test failure is intermittent.
b) Ant test seems to have problems.
Hen
On Thu, Sep 29, 2011 at 5:58 AM, Gary Gregory <[email protected]> wrote:
> Good day to you all:
>
> I have prepared Commons IO 2.1 RC4.
>
> The difference with RC3 is that this RC contains up-to-date
> RELEASE-NOTES.txt
>
> Tag:
>
> https://svn.apache.org/viewvc/commons/proper/io/tags/commons-io-2.1-RC4/
>
> Site:
>
> https://people.apache.org/builds/commons/io/2.1/RC4/
>
> Binaries:
>
> https://repository.apache.org/content/repositories/orgapachecommons-002/commons-io/commons-io/2.1/
>
> [ ] +1 release it
> [ ] +0 go ahead I don't care
> [ ] -1 no, do not release it because
>
> This VOTE is open for 72 hours, until Oct 2 2011, 09:00 EDT.
>
> New features:
> o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
> o Add IOUtils API toString for URL and URI to get contents Issue: IO-284.
> Thanks to ggregory.
> o Add API FileUtils.copyFile(File input, OutputStream output) Issue:
> IO-282. Thanks to ggregory.
> o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
> o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
> o Add new APPEND parameter for writing string into files Issue: IO-182.
> o Add new read method "toByteArray" to handle InputStream with known size.
> Issue: IO-251. Thanks to Marco Albini.
>
> Fixed Bugs:
> o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
> o ReaderInputStream enters infinite loop when it encounters an unmappable
> character Issue: IO-277.
> o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown
> Issue: IO-264.
> o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
>
> o Tailer returning partial lines when reaching EOF before EOL Issue:
> IO-274. Thanks to Frank Grimes.
> o FileUtils.copyFile() throws IOException when copying large files to a
> shared directory (on Windows) Issue: IO-266. Thanks to Igor Smereka.
> o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no
> visible files.
> Improve coverage by also looking for hidden files. Issue: IO-263.
> Thanks to Gil Adam.
>
> Changes:
> o FileAlterationMonitor.stop(boolean allowIntervalToFinish) Issue: IO-259.
>
> Thank you,
> Gary
>
> --
> E-Mail: [email protected] | [email protected]
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]