thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Meier" <ro...@bufferoverflow.ch>
Subject AW: java lib unit test fails for 0.8
Date Thu, 10 May 2012 20:10:57 GMT
Fixed here
http://svn.apache.org/viewvc/thrift/trunk/lib/java/test/org/apache/thrift/se
rver/TestNonblockingServer.java?r1=1296060&r2=1332809

was too heavy for busy build slaves ;-)

> -----Urspr√ľngliche Nachricht-----
> Von: Arvind Jayaprakash [mailto:work@anomalizer.net]
> Gesendet: Donnerstag, 10. Mai 2012 20:31
> An: user@thrift.apache.org
> Betreff: java lib unit test fails for 0.8
> 
> I am getting an OOME error when running "ant test" for the java client lib
> against the 0.8.0-tgz (and the 0.8.x) branch. Here is the exact
> error:
> 
> 
> junit-test:
>     [junit] Running org.apache.thrift.TestShortStack
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
>     [junit] Running org.apache.thrift.TestStruct
> 
> <snip>
> 
>     [junit] Running org.apache.thrift.server.TestHsHaServer
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 17.007 sec
>     [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java
heap
> space
>     [junit]     at
> java.lang.StringCoding$StringEncoder.encode(StringCoding.java:299)
>     [junit]     at java.lang.StringCoding.encode(StringCoding.java:343)
>     [junit]     at java.lang.StringCoding.encode(StringCoding.java:385)
>     [junit]     at java.lang.String.getBytes(String.java:995)
>     [junit]     at
>
org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter.endT
> estSuite(PlainJUnitResultFormatter.java:152)
>     [junit]     at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSui
> te(JUnitTestRunner.java:630)
>     [junit]     at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
> unner.java:455)
>     [junit]     at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTe
> stRunner.java:931)
>     [junit]     at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
> Runner.java:785)
>     [junit] Running org.apache.thrift.server.TestHsHaServer
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> 
> 
> trunk however seems to work just fine. Is this is a known problem?
> 



Mime
View raw message