You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/03/11 04:06:49 UTC

DO NOT REPLY [Bug 38927] - [io] Tests Fail on Windows 2000

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38927>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38927





------- Additional Comments From niallp@apache.org  2006-03-11 03:06 -------
Created an attachment (id=17869)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17869&action=view)
Changes to FileUtilsTestCase

On Windows 2000 using JDK 1.4.2_07 and testing with ant(1.6.1) there were
problems with two of the test methods in FileUtilsTestCase, both of which used
(one directly, one indirectly) Thread.sleep() - they are the testWaitFor() and
testCopyFile2() methods.

testCopyFile2() is identical to testCopyFile1()  except testCopyFile1() has had
some lines commented out - applying the same changes to testCopyFile2()
resolved the issue with that method:

http://svn.apache.org/viewcvs.cgi?rev=140545&view=rev

Also commenting out the testWaitFor() method meant all tests passed under ant.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org