[ https://issues.apache.org/jira/browse/MAPREDUCE-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13661425#comment-13661425 ]
Ivan Mitic commented on MAPREDUCE-5191: --------------------------------------- bq. How about just creating a file under target/ with the name of the test as filename? Thanks Hitesh, totaly makes sense. Will attach the updated patch. > TestQueue#testQueue fails with timeout on Windows > ------------------------------------------------- > > Key: MAPREDUCE-5191 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5191 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Ivan Mitic > Assignee: Ivan Mitic > Attachments: MAPREDUCE-5191.2.patch, MAPREDUCE-5191.patch > > > Test times out on my machine after 5 seconds always on the below stack: > {code} > testQueue(org.apache.hadoop.mapred.TestQueue) Time elapsed: 5009 sec <<< > ERROR! > java.lang.Exception: test timed out after 5000 milliseconds > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:485) > at > sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:330) > at > sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedBytes(SeedGenerator.java:319) > at > sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:117) > at > sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114) > at > sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171) > at java.security.SecureRandom.nextBytes(SecureRandom.java:433) > at java.security.SecureRandom.next(SecureRandom.java:455) > at java.util.Random.nextLong(Random.java:284) > at java.io.File.generateFile(File.java:1682) > at java.io.File.createTempFile(File.java:1791) > at java.io.File.createTempFile(File.java:1828) > at org.apache.hadoop.mapred.TestQueue.writeFile(TestQueue.java:221) > at org.apache.hadoop.mapred.TestQueue.testQueue(TestQueue.java:53) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira